Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cb1f5c
)
Apparently `set -x' in the shell works on some Bourne shells, but not SCO.
author
Martin Pool
<mbp@samba.org>
Wed, 29 Aug 2001 09:24:35 +0000
(09:24 +0000)
committer
Martin Pool
<mbp@samba.org>
Wed, 29 Aug 2001 09:24:35 +0000
(09:24 +0000)
runtests.sh
patch
|
blob
|
blame
|
history
diff --git
a/runtests.sh
b/runtests.sh
index
1d28437
..
712bde8
100755
(executable)
--- a/
runtests.sh
+++ b/
runtests.sh
@@
-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 "============================================================"