aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2015-09-09 14:21:46 -0600
committerRob Savoye <rob.savoye@linaro.org>2015-09-09 14:21:46 -0600
commit5e3f4b22442f94cbe61517afd087a5689c885a35 (patch)
tree4f24ae0fdc6700e43ad296fec2e18adc2dcfdbde
parent752b6a802ee2ae93143d85af828034d33b48f5bb (diff)
Add support for the debug setting to enable bash debugging output.
Change-Id: I81bd7d802be7bfe29e2721b86f642748e1b879f5
-rwxr-xr-xscripts/MakeRelease.job6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job
index 501f3a9c..c0ff81f7 100755
--- a/scripts/MakeRelease.job
+++ b/scripts/MakeRelease.job
@@ -1,7 +1,11 @@
#!/bin/bash
# Set defaults
-export CONFIG_SHELL="/bin/bash"
+if test x"${debug}" = x"true"; then
+ export CONFIG_SHELL="/bin/bash -x"
+else
+ export CONFIG_SHELL="/bin/bash"
+fi
target=""
tarsrc=""
tarbin=""