[Libreoffice-commits] online.git: loolwsd/loolwsd-systemplate-setup

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


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

New commits:
commit baed2630030564e8557f2d0d79e67df754df7a7b
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