Author: pierre
Date: Sat May 24 01:50:45 2014
New Revision: 3798
Log:
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
Modified:
jhalfs/trunk/common/libs/func_wrt_Makefile
Modified: jhalfs/trunk/common/libs/func_wrt_Makefile
==============================================================================
--- jhalfs/trunk/common/libs/func_wrt_Makefile Tue May 20 13:31:22 2014
(r3797)
+++ jhalfs/trunk/common/libs/func_wrt_Makefile Sat May 24 01:50:45 2014
(r3798)
@@ -63,7 +63,7 @@
#----------------------------------#
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.
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page