diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2015-09-09 14:21:46 -0600 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2015-09-09 14:21:46 -0600 |
commit | 5e3f4b22442f94cbe61517afd087a5689c885a35 (patch) | |
tree | 4f24ae0fdc6700e43ad296fec2e18adc2dcfdbde | |
parent | 752b6a802ee2ae93143d85af828034d33b48f5bb (diff) |
Add support for the debug setting to enable bash debugging output.
Change-Id: I81bd7d802be7bfe29e2721b86f642748e1b879f5
-rwxr-xr-x | scripts/MakeRelease.job | 6 |
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="" |