From 00dbc29577c22918c798dec46aaceb45b1b4be18 Mon Sep 17 00:00:00 2001 From: Donghyeon Lee Date: Wed, 1 Mar 2017 10:04:57 +0900 Subject: Restore current directory in batch --- install-deps.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-deps.bat b/install-deps.bat index 759a497..e80960a 100644 --- a/install-deps.bat +++ b/install-deps.bat @@ -415,10 +415,12 @@ echo shift>> %CMAKE_CMD% echo cmake.exe .. -G "NMake Makefiles" %%*>> %CMAKE_CMD% set TORCH_SETUP_FAIL=0 +cd %TORCH_DISTRO% echo %ECHO_PREFIX% Setup succeed! goto :END :FAIL +cd %TORCH_DISTRO% echo %ECHO_PREFIX% Setup fail! :END -- cgit v1.2.3