Author: wade
Date: 2007-11-01 15:02:27 -0500 (Thu, 01 Nov 2007)
New Revision: 88680
Modified:
trunk/release/packaging/do-zip-build
trunk/release/pyutils/buildenv.py
Log:
Turn on tracing for shell commands (Suggested by Andrew)
Modified: trunk/release/packaging/do-zip-build
===================================================================
--- trunk/release/packaging/do-zip-build 2007-11-01 20:01:32 UTC (rev
88679)
+++ trunk/release/packaging/do-zip-build 2007-11-01 20:02:27 UTC (rev
88680)
@@ -66,7 +66,7 @@
fd.write("")
fd.close()
-build_command = ". /tmp/build_deps/env.sh ; " + build_command
+build_command = "set -x; . /tmp/build_deps/env.sh ; " + build_command
print build_command
# TODO: For some reason the above exit isn't being called on failures
Modified: trunk/release/pyutils/buildenv.py
===================================================================
--- trunk/release/pyutils/buildenv.py 2007-11-01 20:01:32 UTC (rev 88679)
+++ trunk/release/pyutils/buildenv.py 2007-11-01 20:02:27 UTC (rev 88680)
@@ -184,7 +184,8 @@
# Default to shell code, but can be overwritten
if not interpreter:
- interpreter = self.env['shell_path']
+ # -x turns on tracing for shell
+ interpreter = self.env['shell_path'] + " -x"
# get code as a string if a file was passed in
if os.path.isfile(code):
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches