Module Name: src Committed By: christos Date: Tue Jun 13 16:56:00 UTC 2023
Modified Files: src: build.sh Log Message: fix build.sh wrong variable use that caused nbmake to be always rebult (Jan-Benedict Glaw) To generate a diff of this commit: cvs rdiff -u -r1.371 -r1.372 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.371 src/build.sh:1.372 --- src/build.sh:1.371 Fri Jun 2 16:48:09 2023 +++ src/build.sh Tue Jun 13 12:56:00 2023 @@ -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} #