summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-21 15:16:39 +0000
committerjlam <jlam@pkgsrc.org>2006-07-21 15:16:39 +0000
commitf29a88e9f4bbe0c708b501e79927c6f89fe87426 (patch)
tree6d88b1aa7991190b24db8429acb633a769bdb943 /bootstrap
parent7da22d35a2a5707adde498b0ca2391e42a9d4263 (diff)
downloadpkgsrc-f29a88e9f4bbe0c708b501e79927c6f89fe87426.tar.gz
Ensure $wrkdir is an absolute path so that $wrkobjdir is too. Avoids
creating empty "work" directories in the pkgsrc tree due to the bootstrap script setting WRKOBJDIR=$wrkobjdir.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index 9278a533212..3ba14b5cc0f 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.71 2006/07/20 19:28:42 jlam Exp $
+# $NetBSD: bootstrap,v 1.72 2006/07/21 15:16:39 jlam Exp $
#
#
# Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved.
@@ -43,9 +43,9 @@ ignoreusercheck=no
preserve_path=no
# where the building takes place
-wrkdir=work # default: relative to pkgsrc/bootstrap
bootstrapdir=`pwd`
pkgsrcdir=`dirname $bootstrapdir`
+wrkdir=$bootstrapdir/work
usage="Usage: $0 "'
[ --workdir <workdir> ]