1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Chris Lamb <lamby@debian.org>
Date: Thu, 18 Aug 2016 17:46:15 +0100
Subject: Make the build reproducibe
---
src/Version.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Version.php b/src/Version.php
index a9f84f8..73bc8bc 100644
--- a/src/Version.php
+++ b/src/Version.php
@@ -58,7 +58,7 @@ namespace TheSeer\Autoload {
}
public static function getInfoString() {
- return 'phpab ' . self::getVersion() . ' - Copyright (C) 2009 - ' . date('Y') . ' by Arne Blankerts and Contributors';
+ return 'phpab ' . self::getVersion() . ' - Copyright (C) 2009 - ' . date('Y', getenv('SOURCE_DATE_EPOCH') ?: time()) . ' by Arne Blankerts and Contributors';
}
}
|