- Fixed shellcheck error

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

No files matched your search

+1 -1
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
+1 -1
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)
+1 -1
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