Fixing last access time on Windows to unblock python.

Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
Upstream-commit: 37ba67bf636b34dc5c0c0265d62a089d0492088f
Component: engine
This commit is contained in:
Stefan J. Wernli
2015-11-05 11:47:18 -08:00
parent e5389225be
commit f34b27bbfb
2 changed files with 10 additions and 4 deletions

View File

@ -304,7 +304,7 @@ func (b *Builder) download(srcURL string) (fi builder.FileInfo, err error) {
}
}
if err = system.Chtimes(tmpFileName, time.Time{}, mTime); err != nil {
if err = system.Chtimes(tmpFileName, mTime, mTime); err != nil {
return
}