Files
dokku/plugins/tar/receive-app
Rob Blanckaert 712e1cada7 - Fixed shellcheck error
- Made test pass
2015-08-26 02:37:52 -04:00

13 lines
271 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$(dirname $0)/../common/functions"
APP="$1"; REV="$2"
# Don't trigger tar build if there is no tarball.
if [ ! -f "$DOKKU_ROOT/$APP/src.tar" ]; then
cat || true
else
dokku tar-build $APP
fi