Windows local build: restore original working dir after activating VC environment...
authorWill Feng <willfeng@fb.com>
Tue, 27 Nov 2018 22:13:48 +0000 (14:13 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 27 Nov 2018 22:18:45 +0000 (14:18 -0800)
commitae1b37650c039b4b801299b9ab8b7beb4e727553
tree08686dacd09ac2e41c3a39e725801e8d6a250fdb
parent5c84145354d6756a6a484390e3513e3c6d2cf509
Windows local build: restore original working dir after activating VC environment (#14416)

Summary:
`call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64` seems to change the working dir to `C:\Users\Administrator\source`, and we need to cd back to the PyTorch directory before running `git submodule update --init --recursive`
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14416

Differential Revision: D13222269

Pulled By: yf225

fbshipit-source-id: a0eb3311fb11713b1bb8f52cd13e2c21d5ca9c7b
.jenkins/pytorch/win-build.sh
.jenkins/pytorch/win-test.sh