Small change required by customization support.

This commit is contained in:
Manuel Canales Esparcia 2006-11-10 14:33:23 +00:00
parent f222bb89f3
commit e66ee706d1

View file

@ -38,7 +38,7 @@ unset get_package_tarball_name
#----------------------------------#
get_package_tarball_name() { #
#----------------------------------#
local script_name=$1
local script_name=`echo ${1} | sed -e 's@[0-9]\{1\}-@@'`
# The use of 'head' is necessary to limit the return value to the FIRST match..
# hopefully this will not cause problems.
@ -51,7 +51,7 @@ get_package_tarball_name() { #
# Uses kernel headers directly
echo $(grep "^linux-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
else
# CLFS/CLFS use massaged headers package
# CLFS/HLFS use massaged headers package
echo $(grep "^linux-headers-[[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 )
fi
;;