diff options
author | schmonz <schmonz@pkgsrc.org> | 2007-05-23 19:42:19 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2007-05-23 19:42:19 +0000 |
commit | 1e8e0b5466b778dd156179c6f7729f590820499b (patch) | |
tree | 77d24b9b7b86134474cdcd62e6c66e55c731bf9f /bootstrap | |
parent | 956c7893585a607159feefddb47d5a8d9a969338 (diff) | |
download | pkgsrc-1e8e0b5466b778dd156179c6f7729f590820499b.tar.gz |
Entab.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/mkbinarykit | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/bootstrap/mkbinarykit b/bootstrap/mkbinarykit index 9eec318a4d2..cdfce90035d 100755 --- a/bootstrap/mkbinarykit +++ b/bootstrap/mkbinarykit @@ -1,6 +1,6 @@ #!/bin/sh -# $NetBSD: mkbinarykit,v 1.21 2007/05/23 19:41:05 schmonz Exp $ +# $NetBSD: mkbinarykit,v 1.22 2007/05/23 19:42:19 schmonz Exp $ # # Make a binary bootstrap kit and place it in targetdir (or current # working directory if not specified). The mk.conf.example file is @@ -77,7 +77,7 @@ force=no build=yes fetch_cmd="" targetdir=`pwd` -wrkdir=`pwd`/work # default: relative to pkgsrc/bootstrap +wrkdir=`pwd`/work # default: relative to pkgsrc/bootstrap sedprog="sed" @@ -121,21 +121,21 @@ SunOS) esac while [ $# -gt 0 ]; do - case $1 in + case $1 in --force) force=yes ;; --no-build) build=no ;; --targetdir=*) targetdir=`echo $1 | $sedprog -e 's|--targetdir=||'` ;; - --prefix=*) prefix=`echo $1 | $sedprog -e 's|--prefix=||'` ;; - --fetch-cmd=*) fetch_cmd="$1" ;; + --prefix=*) prefix=`echo $1 | $sedprog -e 's|--prefix=||'` ;; + --fetch-cmd=*) fetch_cmd="$1" ;; --mkconf=*) mkfile=`echo $1 | $sedprog -e 's|--mkconf=||'` ;; - --pkgdbdir=*) pkgdbdir=`echo $1 | $sedprog -e 's|--pkgdbdir=||'` ;; - --ignore-case-check) ignorecasecheck=yes ;; - --ignore-user-check) ignoreusercheck=yes ;; + --pkgdbdir=*) pkgdbdir=`echo $1 | $sedprog -e 's|--pkgdbdir=||'` ;; + --ignore-case-check) ignorecasecheck=yes ;; + --ignore-user-check) ignoreusercheck=yes ;; --workdir=*) wrkdir=`echo $1 | $sedprog -e 's|--workdir=||'` ;; --universal) setenv_universal ;; - --*) echo "$usage"; exit 1 ;; - esac - shift + --*) echo "$usage"; exit 1 ;; + esac + shift done [ -z "${mkfile}" ] && mkfile="$prefix/etc/mk.conf" |