diff options
author | reed <reed@pkgsrc.org> | 2005-10-31 23:05:24 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2005-10-31 23:05:24 +0000 |
commit | 6f5df6b8ef81ad22cf976d46a29c0bfab1674b0d (patch) | |
tree | 96ac20f0e1a4934ce60876b1e06a8151f205c152 | |
parent | 89323fdfa435c7b002601e4133999ad249bcea07 (diff) | |
download | pkgsrc-6f5df6b8ef81ad22cf976d46a29c0bfab1674b0d.tar.gz |
Do not define sysconfdir when --prefix is set. This causes
sysconfdir to be reset if --prefix is later on command line.
-rwxr-xr-x | bootstrap/bootstrap | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index b683c8bfeaf..d25ccd3a4dc 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.40 2005/05/30 19:03:29 jmmv Exp $ +# $NetBSD: bootstrap,v 1.41 2005/10/31 23:05:24 reed Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -241,10 +241,8 @@ while [ $# -gt 0 ]; do case $1 in --workdir=*) wrkdir=`get_optarg "$1"` ;; --workdir) wrkdir="$2"; shift ;; - --prefix=*) prefix=`get_optarg "$1"`; - sysconfdir=${prefix}/etc ;; - --prefix) prefix="$2"; shift; - sysconfdir=${prefix}/etc ;; + --prefix=*) prefix=`get_optarg "$1"` ;; + --prefix) prefix="$2"; shift ;; --pkgdbdir=*) pkgdbdir=`get_optarg "$1"` ;; --pkgdbdir) pkgdbdir="$2"; shift ;; --sysconfdir=*) sysconfdir=`get_optarg "$1"` ;; |