diff --git a/plugins/git/receive-app b/plugins/git/receive-app index 11dd7541e..da534d709 100755 --- a/plugins/git/receive-app +++ b/plugins/git/receive-app @@ -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 || true + true else dokku git-build $APP $REV fi diff --git a/plugins/tar/commands b/plugins/tar/commands index 4388a1cc5..902157ef6 100755 --- a/plugins/tar/commands +++ b/plugins/tar/commands @@ -15,7 +15,7 @@ case "$1" in APP="$2" verify_app_name "$2" tee "$DOKKU_ROOT/$APP/src.tar" | wc -c - plugn trigger -p receive-app $APP + plugn trigger receive-app $APP ;; tar-build) diff --git a/plugins/tar/receive-app b/plugins/tar/receive-app index 88e6525a8..57b05857b 100755 --- a/plugins/tar/receive-app +++ b/plugins/tar/receive-app @@ -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 || true + true else dokku tar-build $APP fi