Module Name: src
Committed By: apb
Date: Wed Nov 4 12:58:01 UTC 2009
Modified Files:
src: build.sh
Log Message:
If do_expertmode is false, then add DESTDIR and RELEASEDIR to makeenv.
This reinstates behaviour that was accidentally lost in revision 1.215.
To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 src/build.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/build.sh
diff -u src/build.sh:1.216 src/build.sh:1.217
--- src/build.sh:1.216 Thu Oct 15 03:21:45 2009
+++ src/build.sh Wed Nov 4 12:58:01 2009
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.216 2009/10/15 03:21:45 enami Exp $
+# $NetBSD: build.sh,v 1.217 2009/11/04 12:58:01 apb Exp $
#
# Copyright (c) 2001-2009 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1159,9 +1159,11 @@
case "$var" in
DESTDIR)
: ${newval:=${_SRC_TOP_OBJ_}/destdir.${MACHINE}}
+ makeenv="${makeenv} DESTDIR"
;;
RELEASEDIR)
: ${newval:=${_SRC_TOP_OBJ_}/releasedir}
+ makeenv="${makeenv} RELEASEDIR"
;;
esac
fi
@@ -1313,7 +1315,7 @@
eval cat <<EOF ${makewrapout}
#! ${HOST_SH}
# Set proper variables to allow easy "make" building of a NetBSD subtree.
-# Generated from: \$NetBSD: build.sh,v 1.216 2009/10/15 03:21:45 enami Exp $
+# Generated from: \$NetBSD: build.sh,v 1.217 2009/11/04 12:58:01 apb Exp $
# with these arguments: ${_args}
#