Skip to content

Commit

Permalink
DEPLOY_HOOK fix allowing multi-word commands
Browse files Browse the repository at this point in the history
  • Loading branch information
racbart committed Apr 28, 2019
1 parent f3c358a commit 986dd59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/deploy-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ find $RENEWED_LINEAGE ${RENEWED_LINEAGE/live/archive} -type f -exec chmod "$CERT
chown -R $CERTS_USER_OWNER:$CERTS_GROUP_OWNER $RENEWED_LINEAGE ${RENEWED_LINEAGE/live/archive}

if [ ! -z "$DEPLOY_HOOK" ]; then
sh -c ${DEPLOY_HOOK}
fi
sh -c "${DEPLOY_HOOK}"
fi

0 comments on commit 986dd59

Please sign in to comment.