[med-svn] [vtk-dicom] 01/02: Change date used to use non-locale month
Gert Wollny
gert-guest at moszumanska.debian.org
Mon May 23 13:11:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository vtk-dicom.
commit 2315d0ec9396df93f87082b7ac99ee351f857f1b
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Mon May 23 12:07:55 2016 +0000
Change date used to use non-locale month
---
debian/patches/reproducable_build_datetime.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/reproducable_build_datetime.patch b/debian/patches/reproducable_build_datetime.patch
index 656085a..7313774 100644
--- a/debian/patches/reproducable_build_datetime.patch
+++ b/debian/patches/reproducable_build_datetime.patch
@@ -10,12 +10,12 @@ Author: Gert Wollny
- OUTPUT_VARIABLE DATE_TIME)
+ if (DEFINED ENV{SOURCE_DATE_EPOCH})
+ execute_process(
-+ COMMAND "date" "-u" "-d" "@$ENV{SOURCE_DATE_EPOCH}" "+%d %b %Y/%H:%M:%S"
++ COMMAND "date" "-u" "-d" "@$ENV{SOURCE_DATE_EPOCH}" "+%d %m %Y/%H:%M:%S"
+ OUTPUT_VARIABLE DATE_TIME
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+ else ()
+ execute_process(
-+ COMMAND "date" "-u" "+%d %b %Y/%H:%M:%S"
++ COMMAND "date" "-u" "+%d %m %Y/%H:%M:%S"
+ OUTPUT_VARIABLE DATE_TIME
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+ endif ()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/vtk-dicom.git
More information about the debian-med-commit
mailing list