diff options
-rw-r--r-- | mk/bulk/build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mk/bulk/build b/mk/bulk/build index 44d17300d1f..3713504e05e 100644 --- a/mk/bulk/build +++ b/mk/bulk/build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: build,v 1.58 2005/11/02 05:33:38 tv Exp $ +# $NetBSD: build,v 1.59 2005/11/05 02:20:52 rillig Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf@NetBSD.org> @@ -37,7 +37,7 @@ usage() { echo "Usage:" echo " $0 [-m | --mirror_only] [-r | --restart | restart]" - echo " [-s | --specific-pkgs]" + echo " [-s | --specific-pkgs] [-c|--config <fname>]" echo " $0 -h|--help" echo " " echo "Runs a bulk pkgsrc build." @@ -72,6 +72,9 @@ usage() { echo " finished, it will put the results into a file" echo " (FTP/pkgsrc-results.txt)." echo " " + echo " -c|--config <file> Load the following configuration file instead" + echo " of the default one." + echo "" } restart=no @@ -109,6 +112,11 @@ while [ ${#} -ge 1 ] ; do shift ;; + --config|-c ) + shift + BULK_BUILD_CONF=$1; shift + ;; + -* ) echo "unknown option: $1" usage |