From 77ddd7c8a60160c81c436868196afc3f2cc63990 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz <marc@marc-abramowitz.com> Date: Sat, 30 May 2015 09:37:46 -0700 Subject: [PATCH] Set xtrace if $BUILDPACK_XTRACE set For debugging or for folks who are curious about how the buildpack works. --- bin/compile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/compile b/bin/compile index bb06eeb6..09527c15 100755 --- a/bin/compile +++ b/bin/compile @@ -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 -- GitLab