diff options
author | schmonz <schmonz> | 2004-05-11 02:07:19 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2004-05-11 02:07:19 +0000 |
commit | cb391a3fcabde50490c74926fc421db70cf99863 (patch) | |
tree | bb10ab2ec9e8d21f6122fedfc6535a127b04f9c5 | |
parent | d46ce992c94787c3847a639e6668f4d2af8e2107 (diff) | |
download | pkgsrc-cb391a3fcabde50490c74926fc421db70cf99863.tar.gz |
Retire the bootstrap script's --pkgsrcdir argument. Now that we're
part of pkgsrc, we don't need to be told where it is.
-rwxr-xr-x | bootstrap/bootstrap | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 57b6ca5f2ae..7ca281f2a49 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.17 2004/05/05 14:39:45 tv Exp $ +# $NetBSD: bootstrap,v 1.18 2004/05/11 02:07:19 schmonz Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -40,7 +40,6 @@ BOOTSTRAP_VERSION=20040214 # set defaults for system locations prefix=/usr/pkg pkgdbdir=/var/db/pkg -pkgsrcdir=/usr/pkgsrc sysconfdir=${prefix}/etc ignorecasecheck=no @@ -49,12 +48,12 @@ ignoreusercheck=no # where the building takes place wrkdir=work # default: relative to pkgsrc/bootstrap bootstrapdir=`pwd` +pkgsrcdir=`dirname $bootstrapdir` usage="Usage: $0 "' [ --workdir=<workdir> ] [ --prefix=<prefix> ] [ --pkgdbdir=<pkgdbdir> ] - [ --pkgsrcdir=<pkgsrcdir> ] [ --sysconfdir=<sysconfdir> ] [ --ignore-case-check ] [ --ignore-user-check ] @@ -369,7 +368,6 @@ while [ $# -gt 0 ]; do --prefix=*) prefix=`echo $1 | $sedprog -e 's|--prefix=||'` sysconfdir=${prefix}/etc ;; --pkgdbdir=*) pkgdbdir=`echo $1 | $sedprog -e 's|--pkgdbdir=||'` ;; - --pkgsrcdir=*) pkgsrcdir=`echo $1 | $sedprog -e 's|--pkgsrcdir=||'` ;; --sysconfdir=*) sysconfdir=`echo $1 | $sedprog -e 's|--sysconfdir=||'`;; --ignore-case-check) ignorecasecheck=yes ;; --ignore-user-check) ignoreusercheck=yes ;; |