summaryrefslogtreecommitdiff
path: root/loolwsd-systemplate-setup
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2017-09-22 17:04:29 +0200
committerAndras Timar <andras.timar@collabora.com>2017-09-22 17:10:26 +0200
commit017f82a84d6312a8692b11146ddf8d1c6fd9ddd3 (patch)
treee666541158c1428860c5fb81d4be5c82bb30caec /loolwsd-systemplate-setup
parente45d05f84766d751e5e52291c7e29ba5cf99c0df (diff)
no error if systemplate dir is existing
Change-Id: I10aba648688ba92150efa41449190a3ba425f03c Reviewed-on: https://gerrit.libreoffice.org/42663 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'loolwsd-systemplate-setup')
-rwxr-xr-xloolwsd-systemplate-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/loolwsd-systemplate-setup b/loolwsd-systemplate-setup
index 1bd4bd66e..8fb235527 100755
--- a/loolwsd-systemplate-setup
+++ b/loolwsd-systemplate-setup
@@ -9,7 +9,7 @@ INSTDIR=$2
test -d "$INSTDIR" || { echo "No such directory: $INSTDIR"; exit 1; }
-mkdir $CHROOT || exit 1
+mkdir -p $CHROOT || exit 1
CHROOT=`cd $CHROOT && /bin/pwd`
INSTDIR=`cd $INSTDIR && /bin/pwd`