Make build timezone independent
This commit is contained in:
parent
599c138065
commit
307503fb97
|
@ -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
|
# set timestamps in dist, in order to make the installer reproducible
|
||||||
pushd dist
|
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
|
popd
|
||||||
|
|
||||||
# build NSIS installer
|
# build NSIS installer
|
||||||
|
|
|
@ -15,7 +15,7 @@ $here/prepare-hw.sh || exit 1
|
||||||
echo "Resetting modification time in C:\Python..."
|
echo "Resetting modification time in C:\Python..."
|
||||||
# (Because of some bugs in pyinstaller)
|
# (Because of some bugs in pyinstaller)
|
||||||
pushd /opt/wine64/drive_c/python*
|
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
|
popd
|
||||||
ls -l /opt/wine64/drive_c/python*
|
ls -l /opt/wine64/drive_c/python*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue