Ensure there is a newline after calling set -e

This commit is contained in:
Jose Diaz-Gonzalez
2014-11-16 02:54:54 -05:00
parent bca8aa3923
commit f13c1031c7
13 changed files with 14 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
VERSION="$1"
IMPORT_DIR="$2"
TARGET_DIR="$3"
@@ -12,6 +13,7 @@ while read APP; do
cat > $PRERECEIVE_HOOK <<EOF
#!/usr/bin/env bash
set -e; set -o pipefail;
cat | DOKKU_ROOT="$DOKKU_ROOT" dokku git-hook $APP
EOF
chmod +x $PRERECEIVE_HOOK