summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-21 15:16:39 +0000
committerjlam <jlam>2006-07-21 15:16:39 +0000
commit1566209b4bc3e99d41917da1ad6cb9eb172c732c (patch)
tree6d88b1aa7991190b24db8429acb633a769bdb943 /bootstrap
parentfeb5b33f90344473ddd250e193d8c6a2ad7b6dd7 (diff)
downloadpkgsrc-1566209b4bc3e99d41917da1ad6cb9eb172c732c.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> ]