From c219a03fc072007df32b8ce2f9ee4deb56f6ae72 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Thu, 7 Jul 2016 14:35:18 +0200 Subject: [PATCH] [Minor] Don't fail deploy if directory already exists --- createBundle.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/createBundle.sh b/createBundle.sh index 2754d20b2..41e09c978 100755 --- a/createBundle.sh +++ b/createBundle.sh @@ -75,7 +75,7 @@ fi if [ "$(hostname -f)" == "${DEPLOY_SERVER}" ] ; then echo "INFO: Publishing..." - if ! mkdir ${DIST_STROLCH} ; then + if ! mkdir -p ${DIST_STROLCH} ; then echo "ERROR: Failed to create dist ${DIST_STROLCH}" exit 1 fi