summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-28 14:55:04 +0000
committerjbj <devnull@localhost>2002-06-28 14:55:04 +0000
commitf5fc8957b433616cf5010e26866205985c385479 (patch)
tree1749efaf399a22eeaca7577f6f01f65b7932fbc0 /autodeps
parent12191c8ea08e7fbd3468b33d41da97b5bfa2cad7 (diff)
downloadrpm-f5fc8957b433616cf5010e26866205985c385479.tar.gz
rpm-f5fc8957b433616cf5010e26866205985c385479.tar.bz2
rpm-f5fc8957b433616cf5010e26866205985c385479.zip
New fangled head syntax.
CVS patchset: 5531 CVS date: 2002/06/28 14:55:04
Diffstat (limited to 'autodeps')
-rw-r--r--autodeps/linux.req2
1 files changed, 1 insertions, 1 deletions
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" ;;