fixed perl script detection

This commit is contained in:
Дмитрий Левин 2002-12-09 19:32:22 +00:00
parent 2b157ba674
commit 4e5ed14a25

View File

@ -173,7 +173,7 @@ $r"
[ -z "$FOUND_REQS" ] && FOUND_REQS="$r" || FOUND_REQS="$FOUND_REQS
$r"
fi
elif [ -z "${t##perl script text*}" -o -z "${f%%*.p[lmh]}" ]; then
elif [ -z "${t##*perl script text*}" -o -z "${f%%*.p[lmh]}" ]; then
if [ -n "$FIND_PERL" ]; then
[ -z "$LIST_PERL" ] && LIST_PERL="$f" || LIST_PERL="$LIST_PERL
$f"