- 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. # Don't trigger git build if there is no git repository.
if [ ! -d "$DOKKU_ROOT/$APP/refs" ]; then if [ ! -d "$DOKKU_ROOT/$APP/refs" ]; then
cat cat || true
else else
dokku git-build $APP $REV dokku git-build $APP $REV
fi fi
+1 -1
View File
@@ -8,7 +8,7 @@ case "$1" in
APP=$2 APP=$2
URL=$3 URL=$3
shift 3 shift 3
curl -# --insecure -L "$URL" | dokku tar-in $APP $@ curl -# --insecure -L "$URL" | dokku tar-in $APP "$@"
;; ;;
tar-in|tar:in) 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. # Don't trigger tar build if there is no tarball.
if [ ! -f "$DOKKU_ROOT/$APP/src.tar" ]; then if [ ! -f "$DOKKU_ROOT/$APP/src.tar" ]; then
cat cat || true
else else
dokku tar-build $APP dokku tar-build $APP
fi fi