From 2f39dcaf4a6573e25bdc4e3256bf33f0706bda64 Mon Sep 17 00:00:00 2001 From: rillig Date: Sat, 14 May 2005 02:12:48 +0000 Subject: Allow the user to type --prefix=foo instead of requiring a whitespace between the --prefix and the directory. This makes life easier for users that often run GNU ./configure scripts manually. --- bootstrap/bootstrap | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bootstrap') diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index f925b1bbabd..f989c101c0e 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.36 2005/05/07 22:19:16 wiz Exp $ +# $NetBSD: bootstrap,v 1.37 2005/05/14 02:12:48 rillig Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -231,10 +231,15 @@ echo_msg "bootstrap started: $build_start" while [ $# -gt 0 ]; do case $1 in + --workdir=*) wrkdir=`echo x"$1" | sed 's,^[^=]*=,,'` ;; --workdir) wrkdir="$2"; shift ;; + --prefix=*) prefix=`echo x"$1" | sed 's,^[^=]*=,,'`; + sysconfdir=${prefix}/etc ;; --prefix) prefix="$2"; shift; sysconfdir=${prefix}/etc ;; + --pkgdbdir=*) pkgdbdir=`echo x"$1" | sed 's,^[^=]*=,,'` ;; --pkgdbdir) pkgdbdir="$2"; shift ;; + --sysconfdir=*) sysconfdir=`echo x"$1" | sed 's,^[^=]*=,,'` ;; --sysconfdir) sysconfdir="$2"; shift ;; --ignore-case-check) ignorecasecheck=yes ;; --ignore-user-check) ignoreusercheck=yes ;; -- cgit v1.2.3