Package: guymager / 0.8.3-1

adjust_compileinfo Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/compileinfo.sh
+++ b/compileinfo.sh
@@ -1,8 +1,8 @@
 #!/bin/bash
 
 echo '// Automatically generated file. See project file and compileinfo.sh for further information.'
-date '+const char *pCompileInfoTimestamp = "%Y-%m-%d-%H.%M.%S";'
-head -qn 1 changelog debian/changelog 2>/dev/null | awk '{
+date --utc '+const char *pCompileInfoTimestamp = "%Y-%m-%d-%H.%M.%S";' -d "$(dpkg-parsechangelog -S Date)"
+head -qn 1 debian/changelog 2>/dev/null | awk '{
                                     Version = $2
                                     gsub ("\\(", "", Version)
                                     gsub ("\\)", "", Version)