summaryrefslogtreecommitdiff
path: root/tests/misc/pr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/pr')
-rwxr-xr-xtests/misc/pr3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/pr b/tests/misc/pr
index f64add14d..37ccad0f8 100755
--- a/tests/misc/pr
+++ b/tests/misc/pr
@@ -28,7 +28,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;