summaryrefslogtreecommitdiff
path: root/test/aux-fixed/showenv
diff options
context:
space:
mode:
Diffstat (limited to 'test/aux-fixed/showenv')
-rwxr-xr-xtest/aux-fixed/showenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/aux-fixed/showenv b/test/aux-fixed/showenv
index 2d46eefb7..69c8ee006 100755
--- a/test/aux-fixed/showenv
+++ b/test/aux-fixed/showenv
@@ -16,7 +16,8 @@ while [ "$1" != "" ]; do
shift
done
echo ----------current-----------
-pwd
+# strip trailing / from pwd result
+d=`pwd`/dummy; dirname $d
echo ----------env-----------
echo A=$A
echo B=$B