loolwsd/loolwsd-systemplate-setup | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 3a9b272d8653123e5c35d3eac405b7fd4ad910a1 Author: Tor Lillqvist <[email protected]> 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` _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
