Fixed and shortened sed, line 200

This commit is contained in:
Jeremy Huntwork 2005-11-13 01:40:28 +00:00
parent 3c2913142d
commit ef944148ba

6
jhalfs
View file

@ -196,7 +196,7 @@ download() {
# Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} and # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} and
# module-init-tools-testsuite packages that doesn't conform to # module-init-tools-testsuite packages that doesn't conform to
# norms in the URL scheme. # norms in the URL scheme.
DIR=`echo $1 | sed 's@-doc@@' -e 's@-linuxthreads@@' -e 's@-libidn@@' -e 's@-testsuite@@'` DIR=`echo $1 | sed 's@-doc@@;s@-linuxthreads@@;s@-libidn@@;s@-testsuite@@'`
# Find the md5 sum for this package. # Find the md5 sum for this package.
if [ $2 != MD5SUMS ] ; then MD5=`grep " $2" MD5SUMS` ; fi if [ $2 != MD5SUMS ] ; then MD5=`grep " $2" MD5SUMS` ; fi
@ -875,6 +875,10 @@ while test $# -gt 0 ; do
testing | 6.1.1 ) testing | 6.1.1 )
LFSVRS=6.1.1 LFSVRS=6.1.1
;; ;;
alpha*)
LFSVRS=alphabetical
;;
* ) * )
echo "$1 is an unsupported version at this time." echo "$1 is an unsupported version at this time."
exit 1 exit 1