pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap/files Added definition of PATH. This fixes a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6aab0398c504
branches:  trunk
changeset: 500510:6aab0398c504
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Sun Oct 09 20:12:29 2005 +0000

description:
Added definition of PATH. This fixes a silly bug of endless recursion
where "mkdir" is found in WRKDIR/.tools/bin after the tools are
available...including mkdir itself.

diffstat:

 bootstrap/files/mkdir-sh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 638139758e08 -r 6aab0398c504 bootstrap/files/mkdir-sh
--- a/bootstrap/files/mkdir-sh  Sun Oct 09 20:03:29 2005 +0000
+++ b/bootstrap/files/mkdir-sh  Sun Oct 09 20:12:29 2005 +0000
@@ -1,7 +1,8 @@
 #! /bin/sh
-# $NetBSD: mkdir-sh,v 1.1 2004/04/12 14:48:58 heinz Exp $
+# $NetBSD: mkdir-sh,v 1.2 2005/10/09 20:12:29 heinz Exp $
 #
 # workaround for the broken "mkdir -p" on Unixware
+PATH=/usr/bin:/usr/sbin; export PATH
 
 MKDIRCMD=mkdir
 cmdargs="$@"



Home | Main Index | Thread Index | Old Index