Make build timezone independent

This commit is contained in:
Johann Bauer 2017-11-29 23:09:59 +01:00
parent 599c138065
commit 307503fb97
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

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