1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

Run $PERL to see if it is available, rather than testing its value.

This commit is contained in:
Jim Meyering
2003-04-08 10:55:01 +00:00
parent 5d425f8eed
commit c54ba76168
22 changed files with 90 additions and 120 deletions

View File

@@ -3,12 +3,11 @@
: ${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"
$PERL -e 1 > /dev/null 2>&1 || {
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
require 5.003;