From ef944148ba5fc87c842d7c3a1cd6674ffb23201a Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Sun, 13 Nov 2005 01:40:28 +0000 Subject: [PATCH] Fixed and shortened sed, line 200 --- jhalfs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jhalfs b/jhalfs index cc630a6..26f8b20 100755 --- a/jhalfs +++ b/jhalfs @@ -196,7 +196,7 @@ download() { # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} and # module-init-tools-testsuite packages that doesn't conform to # 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. if [ $2 != MD5SUMS ] ; then MD5=`grep " $2" MD5SUMS` ; fi @@ -875,6 +875,10 @@ while test $# -gt 0 ; do testing | 6.1.1 ) LFSVRS=6.1.1 ;; + + alpha*) + LFSVRS=alphabetical + ;; * ) echo "$1 is an unsupported version at this time." exit 1