commit:     6a9679377f4de257f02de1d16a513df14b4c25ba
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Dec  8 15:47:42 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Dec  8 15:47:42 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=6a967937

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(-)

diff --git a/mk/dist.mk b/mk/dist.mk
index 6c37dc8..4f7babb 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})

Reply via email to