Commit 42e66aa2 authored by Martin Pool's avatar Martin Pool

Apparently `set -x' in the shell works on some Bourne shells, but not SCO.

parent 5cb1f5c7
......@@ -101,8 +101,11 @@ RUNSHFLAGS='-e'
if [ -n "$loglevel" ] && [ "$loglevel" -gt 8 ]
then
RUNSHFLAGS="$RUNSHFLAGS -x"
set -x
if set -x
then
# If it doesn't work the first time, don't keep trying.
RUNSHFLAGS="$RUNSHFLAGS -x"
fi
fi
echo "============================================================"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment