mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
454 B
16 lines
454 B
4 years ago
|
diff --git a/SConstruct b/SConstruct
|
||
|
index e8252c9..41786f2 100755
|
||
|
--- a/SConstruct
|
||
|
+++ b/SConstruct
|
||
|
@@ -95,8 +95,8 @@ default_doctype = 'html'
|
||
|
if defenv.WhereIs('hhc', os.environ['PATH']):
|
||
|
default_doctype = 'chm'
|
||
|
|
||
|
-from time import strftime, gmtime
|
||
|
-cvs_version = strftime('%d-%b-%Y.cvs', gmtime())
|
||
|
+import time
|
||
|
+cvs_version = time.strftime('%d-%b-%Y.cvs', time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))))
|
||
|
|
||
|
opts = Variables()
|
||
|
|