Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Allow path components that start with ~
details: https://anonhg.NetBSD.org/src/rev/d3c02791ea06
branches: trunk
changeset: 746335:d3c02791ea06
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Mar 28 20:13:13 2020 +0000
description:
Allow path components that start with ~
diffstat:
build.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r abdca6c5f1f0 -r d3c02791ea06 build.sh
--- a/build.sh Sat Mar 28 19:50:40 2020 +0000
+++ b/build.sh Sat Mar 28 20:13:13 2020 +0000
@@ -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 @@
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 @@
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}
#
Home |
Main Index |
Thread Index |
Old Index