diff options
author | Wayne Davison <wayned@samba.org> | 2011-09-15 07:27:23 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2011-09-15 07:27:23 -0700 |
commit | abc796661d6d3a5b37cb0642e7e9885f6a271d60 (patch) | |
tree | f4f228001cc345b0f15dc61e247b51e2dde238cd | |
parent | 998df4b0c0c7fca98a02bc07423d0a922b737376 (diff) | |
download | rsync-abc796661d6d3a5b37cb0642e7e9885f6a271d60.tar.gz |
When modifying PATH, export it (for Solaris).
-rwxr-xr-x | runtests.sh | 5 |
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 |