From: Brian Norris Date: Tue, 4 Dec 2012 23:36:40 +0000 (-0800) Subject: run.sh: print the command that runs X-Git-Tag: oopsla2013~472 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dc83c88bb4917edbc9ad07f1ab942172fab72a72;p=model-checker.git run.sh: print the command that runs This will help understanding typos, script bugs, etc. --- diff --git a/run.sh b/run.sh index c8dbeb4..00ffd94 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 $@