mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
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
d5f03e1f81
commit
d8e85077eb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209207
@ -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…
Reference in New Issue
Block a user