Add head to the list of tools.

This commit is contained in:
Tom G. Christensen 2008-04-20 14:33:39 +00:00
parent ffb69138ec
commit 5c4973f9c8
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,7 @@ PACK=/usr/bin/pack
SHA1SUM=/usr/local/bin/sha1sum
UNZIP=/usr/local/bin/unzip
LDD=/usr/bin/ldd
HEAD=/usr/bin/head # Must support -n
# Groff stuff for manpages
NROFF=/usr/local/bin/nroff
@ -461,7 +462,7 @@ symlink_man()
manpages="$(echo $i/*)"
for manpage in $manpages
do
solink="$($HEAD -1 $manpage)"
solink="$($HEAD -n 1 $manpage)"
if [ "${solink:0:3}" = ".so" ]; then # .so style link to be converted
linkdest="${solink#.so*/}"
[ "$symlinkman_verbose" -eq 1 ] && echo "Symlinking $linkdest->$manpage"

View File

@ -41,6 +41,7 @@ __compress=/usr/bsd/compress
__pack=/usr/bin/pack
__sha1sum=/usr/tgcware/bin/sha1sum
__unzip=/usr/tgcware/bin/unzip
__head=/usr/bin/head # Must support -n
# Groff stuff for manpages
__nroff=/usr/tgcware/bin/nroff