Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src kre@ does not like the subshell :-)



details:   https://anonhg.NetBSD.org/src/rev/78c76c9a0d9a
branches:  trunk
changeset: 1021361:78c76c9a0d9a
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 27 21:03:26 2021 +0000

description:
kre@ does not like the subshell :-)

diffstat:

 build.sh |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r a5698ac0e611 -r 78c76c9a0d9a build.sh
--- a/build.sh  Thu May 27 21:02:56 2021 +0000
+++ b/build.sh  Thu May 27 21:03:26 2021 +0000
@@ -1,5 +1,5 @@
 #! /usr/bin/env sh
-#      $NetBSD: build.sh,v 1.351 2021/05/26 21:58:58 christos Exp $
+#      $NetBSD: build.sh,v 1.352 2021/05/27 21:03:26 christos Exp $
 #
 # Copyright (c) 2001-2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1973,7 +1973,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.351 2021/05/26 21:58:58 christos Exp $
+# Generated from:  \$NetBSD: build.sh,v 1.352 2021/05/27 21:03:26 christos Exp $
 # with these arguments: ${_args}
 #
 
@@ -2301,7 +2301,7 @@
 
 repro_date() {
        # try the bsd date fail back the the linux one
-       (date -u -r "$1" 2> /dev/null) || date -u -d "@$1"
+       date -u -r "$1" 2> /dev/null || date -u -d "@$1"
 }
 
 setup_mkrepro()



Home | Main Index | Thread Index | Old Index