[Minor] Don't fail deploy if directory already exists

This commit is contained in:
Robert von Burg 2016-07-07 14:35:18 +02:00
parent 0fdbfcf2a2
commit c219a03fc0
1 changed files with 1 additions and 1 deletions

View File

@ -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