Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Fix a minor omission in last...



details:   https://anonhg.NetBSD.org/src/rev/391267ce494e
branches:  trunk
changeset: 823916:391267ce494e
user:      kre <kre%NetBSD.org@localhost>
date:      Sun May 14 11:25:09 2017 +0000

description:
Fix a minor omission in last...

diffstat:

 bin/sh/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3478f3196377 -r 391267ce494e bin/sh/Makefile
--- a/bin/sh/Makefile   Sun May 14 11:23:33 2017 +0000
+++ b/bin/sh/Makefile   Sun May 14 11:25:09 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.105 2017/05/14 11:23:33 kre Exp $
+#      $NetBSD: Makefile,v 1.106 2017/05/14 11:25:09 kre Exp $
 #      @(#)Makefile    8.4 (Berkeley) 5/5/95
 
 .include <bsd.own.mk>
@@ -34,7 +34,7 @@
 BUILD_DATE!=   date -u -r "${MKREPRO_TIMESTAMP}" "+%Y%m%d%H%M%S"
 # These are (should be) equivalent, but the 2nd is easier to understand
 #CPPFLAGS+= -DBUILD_DATE='"${BUILD_DATE:C/([^0]0?)(00)*$/\1/}Z"'
-CPPFLAGS+= -DBUILD_DATE='"${BUILD_DATE:S/00$//:S/00$//:S/00//}Z"'
+CPPFLAGS+= -DBUILD_DATE='"${BUILD_DATE:S/00$//:S/00$//:S/00$//}Z"'
 .endif
 
 .ifdef SMALLPROG



Home | Main Index | Thread Index | Old Index