From f5fc8957b433616cf5010e26866205985c385479 Mon Sep 17 00:00:00 2001 From: jbj Date: Fri, 28 Jun 2002 14:55:04 +0000 Subject: New fangled head syntax. CVS patchset: 5531 CVS date: 2002/06/28 14:55:04 --- autodeps/linux.req | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autodeps') diff --git a/autodeps/linux.req b/autodeps/linux.req index 16b568424..c251cca29 100644 --- a/autodeps/linux.req +++ b/autodeps/linux.req @@ -72,7 +72,7 @@ fi # --- Script interpreters. for f in $scriptlist; do [ -r $f -a -x $f ] || continue - interp=`head -1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` + interp=`head -n 1 $f | sed -e 's/^\#\![ ]*//' | cut -d" " -f1` interplist="$interplist $interp" case $interp in */perl) perllist="$perllist $f" ;; -- cgit v1.2.3