]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
When modifying PATH, export it (for Solaris).
authorWayne Davison <wayned@samba.org>
Thu, 15 Sep 2011 14:27:23 +0000 (07:27 -0700)
committerWayne Davison <wayned@samba.org>
Thu, 15 Sep 2011 14:27:23 +0000 (07:27 -0700)
runtests.sh

index 41d566bf0c617d07cbf1e4c1e0eb7598366e39fa..490795eefed9ef055560f1dee1297b31e26a2229 100755 (executable)
@@ -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