From 6a9679377f4de257f02de1d16a513df14b4c25ba Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 8 Dec 2014 09:47:42 -0600 Subject: Do not call the shell to evaluate CHANGELOG_LIMIT The git log command understands dates such as "1 year ago", so there is no need to use the date command. --- mk/dist.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/dist.mk b/mk/dist.mk index 6c37dc8f..4f7babbd 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -8,7 +8,7 @@ DISTFILE?= ${DISTPREFIX}.tar.bz2 CLEANFILES+= ${NAME}-*.tar.bz2 -CHANGELOG_LIMIT?= --after=$(shell date --utc --date="1 year ago" +%Y-%m-%d) +CHANGELOG_LIMIT?= --after="1 year ago" _SNAP_SH= date -u +%Y%m%d%H%M _SNAP:= $(shell ${_SNAP_SH}) -- cgit v1.2.3