Source-Changes-HG archive

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

[src/trunk]: src export DESTDIR when set via -D.



details:   https://anonhg.NetBSD.org/src/rev/03d7e68a40d3
branches:  trunk
changeset: 517022:03d7e68a40d3
user:      dillo <dillo%NetBSD.org@localhost>
date:      Mon Nov 05 02:17:47 2001 +0000

description:
export DESTDIR when set via -D.

diffstat:

 build.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 635c8940d33c -r 03d7e68a40d3 build.sh
--- a/build.sh  Mon Nov 05 02:12:47 2001 +0000
+++ b/build.sh  Mon Nov 05 02:17:47 2001 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-#  $NetBSD: build.sh,v 1.18 2001/11/02 05:07:22 tv Exp $
+#  $NetBSD: build.sh,v 1.19 2001/11/05 02:17:47 dillo Exp $
 #
 # Top level build wrapper, for a system containing no tools.
 #
@@ -168,7 +168,7 @@
                makewrapper="$OPTARG";;
 
        -D)     eval $optargcmd; resolvepath
-               DESTDIR="$OPTARG"
+               DESTDIR="$OPTARG"; export DESTDIR
                makeenv="$makeenv DESTDIR";;
 
        -O)     eval $optargcmd; resolvepath
@@ -309,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.18 2001/11/02 05:07:22 tv Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.19 2001/11/05 02:17:47 dillo Exp $
 #
 
 EOF



Home | Main Index | Thread Index | Old Index