- Fixed shellcheck error

- Made test pass
This commit is contained in:
Rob Blanckaert
2015-08-26 02:37:52 -04:00
parent 0f1faf06a2
commit 712e1cada7
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ APP="$1"; REV="$2"
# Don't trigger git build if there is no git repository.
if [ ! -d "$DOKKU_ROOT/$APP/refs" ]; then
cat
cat || true
else
dokku git-build $APP $REV
fi

View File

@@ -8,7 +8,7 @@ case "$1" in
APP=$2
URL=$3
shift 3
curl -# --insecure -L "$URL" | dokku tar-in $APP $@
curl -# --insecure -L "$URL" | dokku tar-in $APP "$@"
;;
tar-in|tar:in)

View File

@@ -6,7 +6,7 @@ APP="$1"; REV="$2"
# Don't trigger tar build if there is no tarball.
if [ ! -f "$DOKKU_ROOT/$APP/src.tar" ]; then
cat
cat || true
else
dokku tar-build $APP
fi