summaryrefslogtreecommitdiff
path: root/tests/basename
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-04 07:59:24 +0000
committerJim Meyering <jim@meyering.net>2000-04-04 07:59:24 +0000
commit7fc37fe5ecdd58c0ccc60f416a2ed3b10b14c6f1 (patch)
tree8fb088d5e844887e2062985ea28add54aed0b484 /tests/basename
parent655b4e64090bc63d941e01192a40224de0f82d32 (diff)
downloadcoreutils-7fc37fe5ecdd58c0ccc60f416a2ed3b10b14c6f1.tar.xz
Split a long line and tweak for font-lock mode.
Diffstat (limited to 'tests/basename')
-rwxr-xr-xtests/basename/basic16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/basename/basic b/tests/basename/basic
index bdbf19c1f..f44e39823 100755
--- a/tests/basename/basic
+++ b/tests/basename/basic
@@ -1,19 +1,19 @@
#!/bin/sh
-# This is really a -*-perl-*- script
+# -*-perl-*-
: ${PERL=perl}
: ${srcdir=.}
case "$PERL" in
- *'missing perl')
- echo 1>&2 "$0: configure didn't find a usable version of Perl,"
- "so can't run this test"
- # '
- exit 77
- ;;
+ *missing\ perl)
+ echo 1>&2 "$0: configure didn't find a usable version of Perl," \
+ "so can't run this test"
+ exit 77
+ ;;
esac
-exec $PERL -w -I$srcdir/.. -MFetish -- - << \EOF
+d=$srcdir/..
+exec $PERL -w -I$d -MFetish -- - << \EOF
require 5.003;
use strict;