summaryrefslogtreecommitdiffstats
path: root/contrib/test_summary
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/test_summary')
-rwxr-xr-xcontrib/test_summary4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/test_summary b/contrib/test_summary
index 50669549959..5b9cdc8f39e 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -1,6 +1,6 @@
#! /bin/sh
-# (C) 1998, 1999, 2000 Free Software Foundation
+# (C) 1998, 1999, 2000, 2002 Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br>
# This script is Free Software, and it can be copied, distributed and
@@ -135,7 +135,7 @@ END { if (lang != "") {
' | sed "s/\([\`\$\\\\]\)/\\\\\\1/g" &&
if $move; then
for file in $files `ls -1 $files | sed s/sum$/log/`; do
- [ -f $file ] && echo "mv `pwd`/$file `pwd`/$file.sent &&"
+ [ -f $file ] && echo "mv `${PWDCMD-pwd}`/$file `${PWDCMD-pwd}`/$file.sent &&"
done
fi &&
echo true
OpenPOWER on IntegriCloud