[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-4' - loolwsd/loolwsd-systemplate-setup

Tor Lillqvist tml at collabora.com
Fri Aug 14 01:31:14 PDT 2015


 loolwsd/loolwsd-systemplate-setup |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3a9b272d8653123e5c35d3eac405b7fd4ad910a1
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Aug 14 11:30:45 2015 +0300

    Check that the LO installation directory exists

diff --git a/loolwsd/loolwsd-systemplate-setup b/loolwsd/loolwsd-systemplate-setup
index c4902db..3d18283 100755
--- a/loolwsd/loolwsd-systemplate-setup
+++ b/loolwsd/loolwsd-systemplate-setup
@@ -7,6 +7,8 @@ test $# -eq 2 || { echo "Usage: $0 <chroot template directory for system libs to
 CHROOT=$1
 INSTDIR=$2
 
+test -d "$INSTDIR" || { echo "No such directory: $INSTDIR"; exit 1; }
+
 mkdir $CHROOT || exit 1
 
 CHROOT=`cd $CHROOT && /bin/pwd`


More information about the Libreoffice-commits mailing list