commit:     50e99aa30aee155865842e0a198fda473b647096
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: Tue Jan 13 07:07:02 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=50e99aa3

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