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:
Warner Losh 2010-06-15 18:11:37 +00:00
parent d5f03e1f81
commit d8e85077eb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209207

View file

@ -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 $*"
}
#######################################################################