summaryrefslogtreecommitdiff
path: root/tests/dd/skip-seek
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dd/skip-seek')
-rwxr-xr-xtests/dd/skip-seek3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/dd/skip-seek b/tests/dd/skip-seek
index 99bebc98c..9f82a75fd 100755
--- a/tests/dd/skip-seek
+++ b/tests/dd/skip-seek
@@ -30,7 +30,8 @@ $PERL -e 1 > /dev/null 2>&1 || {
SCRIPT_NAME=$0
export SCRIPT_NAME
-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;