From 307503fb976ebe0bf75b7885d0ea95833084a10b Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Wed, 29 Nov 2017 23:09:59 +0100 Subject: [PATCH] Make build timezone independent --- contrib/build-wine/build-electrum-git.sh | 2 +- contrib/build-wine/build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/build-wine/build-electrum-git.sh b/contrib/build-wine/build-electrum-git.sh index 8366f2c9..c4904985 100755 --- a/contrib/build-wine/build-electrum-git.sh +++ b/contrib/build-wine/build-electrum-git.sh @@ -69,7 +69,7 @@ wine "C:/python$PYTHON_VERSION/scripts/pyinstaller.exe" --noconfirm --ascii --na # set timestamps in dist, in order to make the installer reproducible pushd dist -find -type f -exec touch -d '2000-01-1 18:00:16' {} + +find -type f -exec touch -d '2000-11-11T11:11:11+00:00' {} + popd # build NSIS installer diff --git a/contrib/build-wine/build.sh b/contrib/build-wine/build.sh index 7135525d..0c14199d 100755 --- a/contrib/build-wine/build.sh +++ b/contrib/build-wine/build.sh @@ -15,7 +15,7 @@ $here/prepare-hw.sh || exit 1 echo "Resetting modification time in C:\Python..." # (Because of some bugs in pyinstaller) pushd /opt/wine64/drive_c/python* -find -type f -exec touch -d '2000-11-11 11:11:11' {} + +find -type f -exec touch -d '2000-11-11T11:11:11+00:00' {} + popd ls -l /opt/wine64/drive_c/python*