Changeset e639536 for common


Ignore:
Timestamp:
02/12/2012 06:54:37 PM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
eddf6650
Parents:
575bcf3
Message:

Corrects Makefile generation when some script names are of the form
ddd-d-name, where d represent a digit. This is used for package management
and/or for adding custom scripts (see README)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_wrt_Makefile

    r575bcf3 re639536  
    337337LUSER_wrt_LogNewFiles() {          #
    338338#----------------------------------#
    339   local name=$1
     339  local name=`echo ${1} | sed 's/[0-9]-//'`
    340340(
    341341cat << EOF
     
    348348CHROOT_wrt_LogNewFiles() {         #
    349349#----------------------------------#
    350   local name=$1
     350  local name=`echo ${1} | sed 's/[0-9]-//'`
    351351(
    352352cat << EOF
     
    364364LUSER_RemoveBuildDirs() {          #
    365365#----------------------------------#
    366   local name=$1
     366  local name=`echo ${1} | sed 's/[0-9]-//'`
    367367(
    368368cat << EOF
     
    375375CHROOT_wrt_RemoveBuildDirs() {     #
    376376#----------------------------------#
    377   local name=$1
     377  local name=`echo ${1} | sed 's/[0-9]-//'`
    378378(
    379379cat << EOF
Note: See TracChangeset for help on using the changeset viewer.