diff options
author | imp <imp@FreeBSD.org> | 2010-06-15 18:11:37 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-06-15 18:11:37 +0000 |
commit | 67f7af35eee38900875b3eb8ac1f9ce7eabc8fa7 (patch) | |
tree | 26fa6523c7669f4ad92b7d533bd6e4d590468c2f | |
parent | 5c6d03fea5722285fb5234942fb7e0294a4c7d85 (diff) | |
download | FreeBSD-src-67f7af35eee38900875b3eb8ac1f9ce7eabc8fa7.zip FreeBSD-src-67f7af35eee38900875b3eb8ac1f9ce7eabc8fa7.tar.gz |
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
-rw-r--r-- | tools/tools/nanobsd/nanobsd.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/tools/nanobsd/nanobsd.sh b/tools/tools/nanobsd/nanobsd.sh index 7afb047..e0e9fb3 100644 --- a/tools/tools/nanobsd/nanobsd.sh +++ b/tools/tools/nanobsd/nanobsd.sh @@ -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 $*" } ####################################################################### |