make these convenience functions more convenient by accepting all
args, not just the first. makes mechanical conversion of old style more forgiving. MFC after: 3 days
This commit is contained in:
parent
5c6d03fea5
commit
67f7af35ee
@ -650,19 +650,19 @@ cust_pkg () (
|
||||
|
||||
#######################################################################
|
||||
# Convenience function:
|
||||
# Register $1 as customize function.
|
||||
# Register all args as customize function.
|
||||
|
||||
customize_cmd () {
|
||||
NANO_CUSTOMIZE="$NANO_CUSTOMIZE $1"
|
||||
NANO_CUSTOMIZE="$NANO_CUSTOMIZE $*"
|
||||
}
|
||||
|
||||
#######################################################################
|
||||
# Convenience function:
|
||||
# Register $1 as late customize function to run just before
|
||||
# Register all args as late customize function to run just before
|
||||
# image creation.
|
||||
|
||||
late_customize_cmd () {
|
||||
NANO_LATE_CUSTOMIZE="$NANO_LATE_CUSTOMIZE $1"
|
||||
NANO_LATE_CUSTOMIZE="$NANO_LATE_CUSTOMIZE $*"
|
||||
}
|
||||
|
||||
#######################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user