Source-Changes-HG archive

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

[src/trunk]: src/distrib/sets Prefix mkvars.mk with ${rundir}/, so that the s...



details:   https://anonhg.NetBSD.org/src/rev/6b424db6a56c
branches:  trunk
changeset: 749853:6b424db6a56c
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 11 12:07:58 2009 +0000

description:
Prefix mkvars.mk with ${rundir}/, so that the scripts from this
dir using sets.subr can be run from another directory, as is done
e.g. during "make release" via the mksums script.

OK'ed by uebayasi@

diffstat:

 distrib/sets/sets.subr |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r f1f866d96e86 -r 6b424db6a56c distrib/sets/sets.subr
--- a/distrib/sets/sets.subr    Fri Dec 11 11:48:41 2009 +0000
+++ b/distrib/sets/sets.subr    Fri Dec 11 12:07:58 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sets.subr,v 1.108 2009/12/10 15:51:24 uebayasi Exp $
+#      $NetBSD: sets.subr,v 1.109 2009/12/11 12:07:58 he Exp $
 #
 
 #
@@ -118,13 +118,13 @@
 IFS="
 "
 
-for x in $( ${MAKE} -B -f mkvars.mk mkvars ); do
+for x in $( ${MAKE} -B -f ${rundir}/mkvars.mk mkvars ); do
        eval export $x
 done
 
 IFS=$oIFS
 
-MKVARS="$( ${MAKE} -B -f mkvars.mk mkvars | sed -e 's,=.*,,' | xargs )"
+MKVARS="$( ${MAKE} -B -f ${rundir}/mkvars.mk mkvars | sed -e 's,=.*,,' | xargs )"
 
 if [ "$SETS_SUBR_DEBUG" = "dumpmkvars" ]; then
        for v in $MKVARS; do
@@ -178,7 +178,7 @@
 # In each file, a record consists of a path and a System Package name,
 # separated by whitespace. E.g.,
 #
-#      # $NetBSD: sets.subr,v 1.108 2009/12/10 15:51:24 uebayasi Exp $
+#      # $NetBSD: sets.subr,v 1.109 2009/12/11 12:07:58 he Exp $
 #      .                       base-sys-root   [keyword[,...]]
 #      ./altroot               base-sys-root
 #      ./bin                   base-sys-root



Home | Main Index | Thread Index | Old Index