Source-Changes-HG archive

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

[src/trunk]: src Revert part of rev. 1.20 -- $DESTDIR and $TOOLDIR are delibe...



details:   https://anonhg.NetBSD.org/src/rev/9e1ddcf8cddd
branches:  trunk
changeset: 517514:9e1ddcf8cddd
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Nov 13 19:03:08 2001 +0000

description:
Revert part of rev. 1.20 -- $DESTDIR and $TOOLDIR are deliberately shown
symbolically with "-n", as these may come from mk.conf after building the
bootstrap make.  Add a comment to that effect.

diffstat:

 build.sh |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r e736c4a71f72 -r 9e1ddcf8cddd build.sh
--- a/build.sh  Tue Nov 13 18:57:47 2001 +0000
+++ b/build.sh  Tue Nov 13 19:03:08 2001 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-#  $NetBSD: build.sh,v 1.23 2001/11/12 23:16:17 tv Exp $
+#  $NetBSD: build.sh,v 1.24 2001/11/13 19:03:08 tv Exp $
 #
 # Top level build wrapper, for a system containing no tools.
 #
@@ -245,8 +245,9 @@
 
 # Find DESTDIR and TOOLDIR.
 if [ "$runcmd" = "echo" ]; then
-       DESTDIR="$DESTDIR"
-       TOOLDIR="$TOOLDIR"
+       # shown symbolically with -n because these may come from mk.conf
+       DESTDIR='$DESTDIR'
+       TOOLDIR='$TOOLDIR'
 else
        DESTDIR=`getmakevar DESTDIR`; echo "===> DESTDIR path: $DESTDIR"
        TOOLDIR=`getmakevar TOOLDIR`; echo "===> TOOLDIR path: $TOOLDIR"
@@ -308,7 +309,7 @@
 eval cat <<EOF $makewrapout
 #! /bin/sh
 # Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from:  \$NetBSD: build.sh,v 1.23 2001/11/12 23:16:17 tv Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.24 2001/11/13 19:03:08 tv Exp $
 #
 
 EOF



Home | Main Index | Thread Index | Old Index