summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2011-09-15 07:27:23 -0700
committerWayne Davison <wayned@samba.org>2011-09-15 07:27:23 -0700
commitabc796661d6d3a5b37cb0642e7e9885f6a271d60 (patch)
treef4f228001cc345b0f15dc61e247b51e2dde238cd
parent998df4b0c0c7fca98a02bc07423d0a922b737376 (diff)
downloadrsync-abc796661d6d3a5b37cb0642e7e9885f6a271d60.tar.gz
When modifying PATH, export it (for Solaris).
-rwxr-xr-xruntests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtests.sh b/runtests.sh
index 41d566bf..490795ee 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -129,7 +129,10 @@ RUNSHFLAGS='-e'
export RUNSHFLAGS
# for Solaris
-[ -d /usr/xpg4/bin ] && PATH="/usr/xpg4/bin/:$PATH"
+if [ -d /usr/xpg4/bin ]; then
+ PATH="/usr/xpg4/bin/:$PATH"
+ export PATH
+fi
if [ "x$loglevel" != x ] && [ "$loglevel" -gt 8 ]; then
if set -x; then