Fixed and shortened sed, line 200
This commit is contained in:
parent
3c2913142d
commit
ef944148ba
1 changed files with 5 additions and 1 deletions
6
jhalfs
6
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
|
||||
|
|
Reference in a new issue