1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-25 13:45:23 +00:00

Add trace mode

This commit is contained in:
Jose Diaz-Gonzalez 2016-09-20 01:31:04 -06:00
parent b69c1f3854
commit fb081cabb2
3 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# bin/compile <build-dir> <cache-dir> # bin/compile <build-dir> <cache-dir>
set -eo pipefail; [[ $TRACE ]] && set -x
set -e
set -o pipefail
NGINX_VERSION="1.10.1" NGINX_VERSION="1.10.1"
NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz" NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz"

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# bin/detect <build-dir> <cache-dir> # bin/detect <build-dir> <cache-dir>
set -e set -eo pipefail; [[ $TRACE ]] && set -x
# Exit early if app is clearly not an nginx app # Exit early if app is clearly not an nginx app
if [[ ! -f $1/.static ]]; then if [[ ! -f $1/.static ]]; then

View File

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# bin/release <build-dir> # bin/release <build-dir>
set -eo pipefail; [[ $TRACE ]] && set -x
cat <<EOF cat <<EOF
--- ---