summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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