Browse Source

Make build timezone independent

3.0.x
Johann Bauer 7 years ago
parent
commit
307503fb97
  1. 2
      contrib/build-wine/build-electrum-git.sh
  2. 2
      contrib/build-wine/build.sh

2
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

2
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*

Loading…
Cancel
Save