From 1566209b4bc3e99d41917da1ad6cb9eb172c732c Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 21 Jul 2006 15:16:39 +0000 Subject: 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. --- bootstrap/bootstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap') 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 ] -- cgit v1.2.3