Source-Changes-HG archive

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

[src/trunk]: src Add missing "cd ${TOP}" to buildtools(). Problem identified...



details:   https://anonhg.NetBSD.org/src/rev/238476dd6a9f
branches:  trunk
changeset: 550038:238476dd6a9f
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Jul 28 12:33:42 2003 +0000

description:
Add missing "cd ${TOP}" to buildtools().  Problem identified by John Nemeth
in private mail.

Remove some debugging messages that crept in a little while ago.

diffstat:

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

diffs (37 lines):

diff -r 131a1f71dd24 -r 238476dd6a9f build.sh
--- a/build.sh  Mon Jul 28 11:32:21 2003 +0000
+++ b/build.sh  Mon Jul 28 12:33:42 2003 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.109 2003/07/20 09:26:49 lukem Exp $
+#      $NetBSD: build.sh,v 1.110 2003/07/28 12:33:42 lukem Exp $
 #
 # Copyright (c) 2001-2003 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -784,7 +784,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.109 2003/07/20 09:26:49 lukem Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.110 2003/07/28 12:33:42 lukem Exp $
 #
 
 EOF
@@ -818,6 +818,7 @@
        ${runcmd} "${makewrapper}" ${cleandir} dependall install ||
            bomb "Failed to make tools"
        statusmsg "Tools built to ${TOOLDIR}"
+       ${runcmd} cd "${TOP}"
 }
 
 getkernelconf()
@@ -899,9 +900,7 @@
        kernelreldir="${RELEASEDIR}/${MACHINE}/binary/kernel"
        ${runcmd} mkdir -p "${kernelreldir}"
        kernlist=$(awk '$1 == "config" { print $2 }' ${kernelconfpath})
-echo "releasekernel: conf ${kernelconf}, name ${kernelconfname}, build ${kernelbuildpath}"
        for kern in ${kernlist:-netbsd}; do
-echo "  checking ${kern} in ${kernelbuildpath}"
                builtkern="${kernelbuildpath}/${kern}"
                [ -f "${builtkern}" ] || continue
                releasekern="${kernelreldir}/${kern}-${kernelconfname}.gz"



Home | Main Index | Thread Index | Old Index