In get_package_tarball_name function, patterns corresponding to #- are
dropped. This should happen only when the digit is at the beginning of the name. Change the sed accordingly
This commit is contained in:
parent
ba57e61b6c
commit
659be15f60
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ EOF
|
||||||
#----------------------------------#
|
#----------------------------------#
|
||||||
get_package_tarball_name() { #
|
get_package_tarball_name() { #
|
||||||
#----------------------------------#
|
#----------------------------------#
|
||||||
local script_name=`echo ${1} | sed -e 's@[0-9]\{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..
|
# The use of 'head' is necessary to limit the return value to the FIRST match..
|
||||||
# hopefully this will not cause problems.
|
# hopefully this will not cause problems.
|
||||||
|
|
Reference in a new issue