summaryrefslogtreecommitdiff
path: root/tests/misc/fold
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/fold')
-rwxr-xr-xtests/misc/fold3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/fold b/tests/misc/fold
index 919c8a0d7..2bb6f24a5 100755
--- a/tests/misc/fold
+++ b/tests/misc/fold
@@ -39,7 +39,8 @@ case $ver in
exit 1;;
esac
-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;