From: Brian Norris Date: Tue, 4 Dec 2012 23:36:40 +0000 (-0800) Subject: run.sh: print the command that runs X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=dc83c88bb4917edbc9ad07f1ab942172fab72a72;hp=53f0d3f9d56fd6341ef725ce8651661d6d9d906e;ds=sidebyside run.sh: print the command that runs This will help understanding typos, script bugs, etc. --- diff --git a/run.sh b/run.sh index c8dbeb46..00ffd94b 100755 --- a/run.sh +++ b/run.sh @@ -19,4 +19,5 @@ export LD_LIBRARY_PATH=. [ $# -gt 0 ] && [ "$1" = "gdb" ] && PREFIX=gdb && shift [ $# -gt 0 ] && [ -x "$1" ] && [ -f "$1" ] && BIN="$1" && shift +set -x $PREFIX $BIN $@