pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap Ensure $wrkdir is an absolute path so that $...
details: https://anonhg.NetBSD.org/pkgsrc/rev/898526c20ad7
branches: trunk
changeset: 516468:898526c20ad7
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jul 21 15:16:39 2006 +0000
description:
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:
bootstrap/bootstrap | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 2b9a50dd4c94 -r 898526c20ad7 bootstrap/bootstrap
--- a/bootstrap/bootstrap Fri Jul 21 14:53:00 2006 +0000
+++ b/bootstrap/bootstrap Fri Jul 21 15:16:39 2006 +0000
@@ -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 @@
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> ]
Home |
Main Index |
Thread Index |
Old Index