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
commite4c8520953f6de468fdd8a4d171883a430dca7b2 (patch)
tree6d88b1aa7991190b24db8429acb633a769bdb943 /bootstrap
parenta3f7929f738bb02c08c932394c0aa486db421d17 (diff)
downloadpkgsrc-e4c8520953f6de468fdd8a4d171883a430dca7b2.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> ]