Module Name: src
Committed By: kre
Date: Sun May 14 11:25:09 UTC 2017
Modified Files:
src/bin/sh: Makefile
Log Message:
Fix a minor omission in last...
To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/bin/sh/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/Makefile
diff -u src/bin/sh/Makefile:1.105 src/bin/sh/Makefile:1.106
--- src/bin/sh/Makefile:1.105 Sun May 14 11:23:33 2017
+++ src/bin/sh/Makefile Sun May 14 11:25:09 2017
@@ -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 @@ 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