Skip to content

Commit

Permalink
Make build timezone independent
Browse files Browse the repository at this point in the history
  • Loading branch information
bauerj committed Nov 29, 2017
1 parent 599c138 commit 307503f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/build-wine/build-electrum-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion contrib/build-wine/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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*

Expand Down

0 comments on commit 307503f

Please sign in to comment.