summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-10-31 23:05:24 +0000
committerreed <reed@pkgsrc.org>2005-10-31 23:05:24 +0000
commit6f5df6b8ef81ad22cf976d46a29c0bfab1674b0d (patch)
tree96ac20f0e1a4934ce60876b1e06a8151f205c152
parent89323fdfa435c7b002601e4133999ad249bcea07 (diff)
downloadpkgsrc-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-xbootstrap/bootstrap8
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"` ;;