[med-svn] [lefse] 01/04: Make sure a proper date of the latest file can be obtained

Andreas Tille tille at debian.org
Wed Aug 3 13:06:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository lefse.

commit 5337777ed7fab5511d5d8e3735e53c845eeeff3f
Author: Andreas Tille <tille at debian.org>
Date:   Wed Aug 3 15:02:43 2016 +0200

    Make sure a proper date of the latest file can be obtained
---
 debian/get-orig-source | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/get-orig-source b/debian/get-orig-source
index afe6121..c9a79b6 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -17,7 +17,7 @@ if [ ! -x /usr/bin/hg ] ; then
 fi
 hg clone --quiet https://bitbucket.org/nsegata/lefse
 cd $ORIGNAME
-VERSION=${MVERSION}+`date -d @$(hg log --template '{date}' -l 1) +%Y%m%d`
+VERSION=${MVERSION}+`date -d @$(hg log --template '{date}' -l 1 | sed 's/-.*//') +%Y%m%d`
 cd ..
 TARDIR=${NAME}-${VERSION}
 mv ${ORIGNAME} ${TARDIR}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/lefse.git



More information about the debian-med-commit mailing list