Module Name: src Committed By: jmcneill Date: Sat May 23 17:26:32 UTC 2020
Modified Files: src: build.sh Log Message: When MACHINE_ARCH is missing, give direction on how to get a list of valid options To generate a diff of this commit: cvs rdiff -u -r1.337 -r1.338 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.337 src/build.sh:1.338 --- src/build.sh:1.337 Sat May 23 11:04:43 2020 +++ src/build.sh Sat May 23 17:26:32 2020 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.337 2020/05/23 11:04:43 jmcneill Exp $ +# $NetBSD: build.sh,v 1.338 2020/05/23 17:26:32 jmcneill Exp $ # # Copyright (c) 2001-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -812,7 +812,7 @@ validatearch() case "${MACHINE_ARCH}" in "") - bomb "No MACHINE_ARCH provided" + bomb "No MACHINE_ARCH provided. Use 'build.sh -m ${MACHINE} list-arch' to show options." ;; esac @@ -1935,7 +1935,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.337 2020/05/23 11:04:43 jmcneill Exp $ +# Generated from: \$NetBSD: build.sh,v 1.338 2020/05/23 17:26:32 jmcneill Exp $ # with these arguments: ${_args} #