Source-Changes-HG archive

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

[src/trunk]: src fix build.sh wrong variable use that caused nbmake to be alw...



details:   https://anonhg.NetBSD.org/src/rev/1baf14d7308f
branches:  trunk
changeset: 376355:1baf14d7308f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jun 13 16:56:00 2023 +0000

description:
fix build.sh wrong variable use that caused nbmake to be always rebult
(Jan-Benedict Glaw)

diffstat:

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

diffs (28 lines):

diff -r 7b68ae2b6e13 -r 1baf14d7308f build.sh
--- a/build.sh  Tue Jun 13 10:11:17 2023 +0000
+++ b/build.sh  Tue Jun 13 16:56:00 2023 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.371 2023/06/02 20:48:09 lukem Exp $
+#      $NetBSD: build.sh,v 1.372 2023/06/13 16:56:00 christos Exp $
 #
 # Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1613,7 +1613,7 @@ print_tooldir_program()
                [ -n "${possible_TOP_OBJ}" ] || continue
                possible_TOOLDIR="${possible_TOP_OBJ}/tooldir.${host_ostype}"
                possible_program="${possible_TOOLDIR}/bin/${toolprefix}${program}"
-               if [ -x "${possible_make}" ]; then
+               if [ -x "${possible_program}" ]; then
                        echo ${possible_program}
                        return;
                fi
@@ -2016,7 +2016,7 @@ createmakewrapper()
        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.371 2023/06/02 20:48:09 lukem Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.372 2023/06/13 16:56:00 christos Exp $
 # with these arguments: ${_args}
 #
 



Home | Main Index | Thread Index | Old Index