Changeset 659be15


Ignore:
Timestamp:
05/24/2014 08:50:45 AM (10 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
3f83cb0
Parents:
ba57e61
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_wrt_Makefile

    rba57e61 r659be15  
    6464get_package_tarball_name() {       #
    6565#----------------------------------#
    66   local script_name=`echo ${1} | sed -e 's@[0-9]\{1\}-@@'`
     66  local script_name=`echo ${1} | sed -e 's@^[0-9]\{1\}-@@'`
    6767
    6868   # The use of 'head' is necessary to limit the return value to the FIRST match..
Note: See TracChangeset for help on using the changeset viewer.