Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src resolvepath: Resolve .. in absolute paths.
details: https://anonhg.NetBSD.org/src/rev/2d35aa1843ce
branches: trunk
changeset: 329008:2d35aa1843ce
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Tue Apr 29 06:51:57 2014 +0000
description:
resolvepath: Resolve .. in absolute paths.
diffstat:
build.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 7f72f301cb65 -r 2d35aa1843ce build.sh
--- a/build.sh Tue Apr 29 06:29:02 2014 +0000
+++ b/build.sh Tue Apr 29 06:51:57 2014 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.278 2014/03/31 19:29:21 martin Exp $
+# $NetBSD: build.sh,v 1.279 2014/04/29 06:51:57 uebayasi Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -889,6 +889,7 @@
val="${TOP}/${val%/}"
;;
esac
+ val="$( /bin/mkdir -p ${val} && cd ${val} && /bin/pwd )"
eval ${var}=\"\${val}\"
}
@@ -1746,7 +1747,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.278 2014/03/31 19:29:21 martin Exp $
+# Generated from: \$NetBSD: build.sh,v 1.279 2014/04/29 06:51:57 uebayasi Exp $
# with these arguments: ${_args}
#
Home |
Main Index |
Thread Index |
Old Index