summaryrefslogtreecommitdiff
path: root/tests/misc/sha512sum
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/sha512sum')
-rwxr-xr-xtests/misc/sha512sum3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/sha512sum b/tests/misc/sha512sum
index 6ec2cbe81..52a2ca5dc 100755
--- a/tests/misc/sha512sum
+++ b/tests/misc/sha512sum
@@ -25,7 +25,8 @@ $PERL -e 1 > /dev/null 2>&1 || {
exit 77
}
-exec $PERL -w -I$srcdir/.. -MCoreutils -- - <<\EOF
+me=`echo $0|sed 's,.*/,,'`
+exec $PERL -w -I$srcdir/.. -MCoreutils -M"CuTmpdir qw($me)" -- - <<\EOF
require 5.003;
use strict;