summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2020-03-28 20:13:13 +0000
committerjmcneill <jmcneill@NetBSD.org>2020-03-28 20:13:13 +0000
commitc0bc7bf9731190ef9f1cd30da5f2948f823546da (patch)
treed63c7c0ffb719a12ecb993b75fd9b7a327f9fdf9 /build.sh
parenta019ad03f434a827158ff1f233e6d5366be45dec (diff)
Allow path components that start with ~
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 65fac62a0a2..10098de23da 100755
--- a/build.sh
+++ b/build.sh
@@ -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}
#