diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2020-03-28 20:13:13 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2020-03-28 20:13:13 +0000 |
| commit | c0bc7bf9731190ef9f1cd30da5f2948f823546da (patch) | |
| tree | d63c7c0ffb719a12ecb993b75fd9b7a327f9fdf9 /build.sh | |
| parent | a019ad03f434a827158ff1f233e6d5366be45dec (diff) | |
Allow path components that start with ~
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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} # |
