From 017f82a84d6312a8692b11146ddf8d1c6fd9ddd3 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Fri, 22 Sep 2017 17:04:29 +0200 Subject: [PATCH] no error if systemplate dir is existing Change-Id: I10aba648688ba92150efa41449190a3ba425f03c Reviewed-on: https://gerrit.libreoffice.org/42663 Reviewed-by: Andras Timar Tested-by: Andras Timar --- loolwsd-systemplate-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loolwsd-systemplate-setup b/loolwsd-systemplate-setup index 1bd4bd66e00b5..8fb235527bedc 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`