[sextractor] 01/01: Fix date string retrieval
Ole Streicher
olebole at moszumanska.debian.org
Thu May 28 15:06:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
olebole pushed a commit to branch debian
in repository sextractor.
commit f9a36927c5f705d63a664057f4b01c5bf9ce7872
Author: Ole Streicher <debian at liska.ath.cx>
Date: Thu May 28 17:07:00 2015 +0200
Fix date string retrieval
---
debian/patches/reproducible_builds.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/reproducible_builds.patch b/debian/patches/reproducible_builds.patch
index 5ae2677..cc8179f 100644
--- a/debian/patches/reproducible_builds.patch
+++ b/debian/patches/reproducible_builds.patch
@@ -10,7 +10,7 @@ Description: Replace the build date with the last changed date of configure.ac
-date=`date +%Y-%m-%d`
-date2=`date +"%a %b %d %Y"`
-date3=`date +"%B %Y"`
-+d0=`fgrep "Last modified" configure.ac | cut -d: -f2- | head -1`
++d0=`fgrep "Last modified" configure.ac | cut -d: -f2- | head -1 | sed "s+\(..\)/\(..\)/\(....\)+\\3-\\2-\\1+"`
+date=`date +%Y-%m-%d -d $d0`
+date2=`date +"%a %b %d %Y" -d $d0`
+date3=`date +"%B %Y" -d $d0`
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/sextractor.git
More information about the debian-science-commits
mailing list