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)
This commit is contained in:
parent
575bcf3c88
commit
e639536073
1 changed files with 4 additions and 4 deletions
|
@ -336,7 +336,7 @@ EOF
|
|||
#----------------------------------#
|
||||
LUSER_wrt_LogNewFiles() { #
|
||||
#----------------------------------#
|
||||
local name=$1
|
||||
local name=`echo ${1} | sed 's/[0-9]-//'`
|
||||
(
|
||||
cat << EOF
|
||||
@\$(call log_new_files_LUSER,$name)
|
||||
|
@ -347,7 +347,7 @@ EOF
|
|||
#----------------------------------#
|
||||
CHROOT_wrt_LogNewFiles() { #
|
||||
#----------------------------------#
|
||||
local name=$1
|
||||
local name=`echo ${1} | sed 's/[0-9]-//'`
|
||||
(
|
||||
cat << EOF
|
||||
@\$(call log_new_files,$name)
|
||||
|
@ -363,7 +363,7 @@ EOF
|
|||
#----------------------------------#
|
||||
LUSER_RemoveBuildDirs() { #
|
||||
#----------------------------------#
|
||||
local name=$1
|
||||
local name=`echo ${1} | sed 's/[0-9]-//'`
|
||||
(
|
||||
cat << EOF
|
||||
@\$(call remove_build_dirs,$name)
|
||||
|
@ -374,7 +374,7 @@ EOF
|
|||
#----------------------------------#
|
||||
CHROOT_wrt_RemoveBuildDirs() { #
|
||||
#----------------------------------#
|
||||
local name=$1
|
||||
local name=`echo ${1} | sed 's/[0-9]-//'`
|
||||
(
|
||||
cat << EOF
|
||||
@\$(call remove_build_dirs2,$name)
|
||||
|
|
Reference in a new issue