Set xtrace if $BUILDPACK_XTRACE set

For debugging or for folks who are curious about how the buildpack
works.
This commit is contained in:
Marc Abramowitz
2015-05-30 09:37:46 -07:00
parent c53d54f203
commit 77ddd7c8a6
+2
View File
@@ -7,6 +7,8 @@
# Fail fast and fail hard.
set -eo pipefail
[ "$BUILDPACK_XTRACE" ] && set -o xtrace
# Prepend proper path for virtualenv hackery. This will be deprecated soon.
export PATH=:/usr/local/bin:$PATH