- Fixed shellcheck error
- Made test pass
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user