From 659be15f6092aaffc35efaa04c6b2231a09588fd Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sat, 24 May 2014 08:50:45 +0000 Subject: [PATCH] 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 --- common/libs/func_wrt_Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/libs/func_wrt_Makefile b/common/libs/func_wrt_Makefile index d5fff35..c8179b9 100644 --- a/common/libs/func_wrt_Makefile +++ b/common/libs/func_wrt_Makefile @@ -63,7 +63,7 @@ EOF #----------------------------------# 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.. # hopefully this will not cause problems.