Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src Pull up the following revision (requested by martin in ti...
details: https://anonhg.NetBSD.org/src/rev/820086fb34f8
branches: netbsd-9
changeset: 373880:820086fb34f8
user: jdc <jdc%NetBSD.org@localhost>
date: Mon Mar 13 21:38:13 2023 +0000
description:
Pull up the following revision (requested by martin in ticket #1611):
build.sh: revision 1.366 via patch
Avoid the dependency on a populated tooldir (or building the tools)
when simply doing mkrepro-timestamp and the current repository setups
does not actually require it.
diffstat:
build.sh | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (52 lines):
diff -r f580cfa629f3 -r 820086fb34f8 build.sh
--- a/build.sh Tue Mar 07 20:02:04 2023 +0000
+++ b/build.sh Mon Mar 13 21:38:13 2023 +0000
@@ -1,5 +1,5 @@
#! /usr/bin/env sh
-# $NetBSD: build.sh,v 1.333.2.2 2022/02/02 14:23:11 martin Exp $
+# $NetBSD: build.sh,v 1.333.2.3 2023/03/13 21:38:13 jdc Exp $
#
# Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1953,7 +1953,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.2.2 2022/02/02 14:23:11 martin Exp $
+# Generated from: \$NetBSD: build.sh,v 1.333.2.3 2023/03/13 21:38:13 jdc Exp $
# with these arguments: ${_args}
#
@@ -2285,22 +2285,22 @@
dirs="$dirs ${X11SRCDIR-/usr/xsrc}/"
fi
- local cvslatest=$(print_tooldir_program cvslatest)
- if [ ! -x "${cvslatest}" ]; then
- buildtools
- fi
-
- local cvslatestflags=
- if ${do_expertmode}; then
- cvslatestflags=-i
- fi
-
MKREPRO_TIMESTAMP=0
local d
local t
local vcs
for d in ${dirs}; do
if [ -d "${d}CVS" ]; then
+ local cvslatest=$(print_tooldir_program cvslatest)
+ if [ ! -x "${cvslatest}" ]; then
+ buildtools
+ fi
+
+ local cvslatestflags=
+ if ${do_expertmode}; then
+ cvslatestflags=-i
+ fi
+
t=$("${cvslatest}" ${cvslatestflags} "${d}")
vcs=cvs
elif [ -d "${d}.git" ]; then
Home |
Main Index |
Thread Index |
Old Index