Honour SOURCE_DATE_EPOCH for VERSION default (GitHub PR #13)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7248 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9a5e574e62
commit
a2b417c0a0
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue