Module Name: src Committed By: jmcneill Date: Sat Mar 28 20:13:13 UTC 2020
Modified Files: src: build.sh Log Message: Allow path components that start with ~ To generate a diff of this commit: cvs rdiff -u -r1.333 -r1.334 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.333 src/build.sh:1.334 --- src/build.sh:1.333 Fri Jun 7 15:49:20 2019 +++ src/build.sh Sat Mar 28 20:13:13 2020 @@ -1,5 +1,5 @@ #! /usr/bin/env sh -# $NetBSD: build.sh,v 1.333 2019/06/07 15:49:20 sborrill Exp $ +# $NetBSD: build.sh,v 1.334 2020/03/28 20:13:13 jmcneill Exp $ # # Copyright (c) 2001-2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -1462,7 +1462,7 @@ sanitycheck() path="${path%:}" # delete trailing ":" path="${path%:.}" # delete trailing ":." case ":${path}:/" in - *:[!/]*) + *:[!/~]*) if ${do_expertmode}; then warning "PATH contains non-absolute components" else @@ -1937,7 +1937,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.333 2019/06/07 15:49:20 sborrill Exp $ +# Generated from: \$NetBSD: build.sh,v 1.334 2020/03/28 20:13:13 jmcneill Exp $ # with these arguments: ${_args} #