From 15c7c8a050d68ea201faf5d1fe25d9b0f6f47b71 Mon Sep 17 00:00:00 2001 From: kre Date: Sun, 14 May 2017 11:25:09 +0000 Subject: [PATCH] Fix a minor omission in last... --- bin/sh/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sh/Makefile b/bin/sh/Makefile index 63f86a8e6b5c..f7679ae7caa8 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -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 @@ -34,7 +34,7 @@ CPPFLAGS+=-DSHELL -I. -I${.CURDIR} 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