Diff of /src/make_info [2e121b] .. [b5a2b0]  Maximize  Restore

Switch to side-by-side view

--- a/src/make_info
+++ b/src/make_info
@@ -1,7 +1,12 @@
 #! /bin/sh
 
-compile_date=\"`date`\"
-compile_system=\"`uname -srm`\"
+if [ -n "$SOURCE_DATE_EPOCH" ]; then
+    compile_date=\"`date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null || date -u`\"
+    compile_system=\"reproducible\"
+else
+    compile_date=\"`date`\"
+    compile_system=\"`uname -srm`\"
+fi
 moduledir=\"$1\"
 
 echo "/* This file was generated automatically by 'make_info' */"

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks