From 844304bb658722058f29aeb44e11571a75c36d8d Mon Sep 17 00:00:00 2001 From: ziti-ci Date: Fri, 5 Jun 2020 12:33:21 -0400 Subject: [PATCH] no pushd/popd for travis --- service/build.bat | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/service/build.bat b/service/build.bat index 24a655d7..e220fa09 100644 --- a/service/build.bat +++ b/service/build.bat @@ -31,13 +31,14 @@ if not exist %SVC_ROOT_DIR%ziti.dll ( if exist %TUNNELER_SDK_DIR% ( echo in: %CD% echo TUNNELER_SDK_DIR: %TUNNELER_SDK_DIR% - pushd %TUNNELER_SDK_DIR% + set BEFORE_GIT=%cd% + cd %TUNNELER_SDK_DIR% echo. echo in: %CD% echo issuing git pull to pick up any changes git pull git submodule update --init --recursive - popd + cd %BEFORE_GIT% ) else ( echo cloning %REPO_URL% git clone %REPO_URL% %TUNNELER_SDK_DIR% --recurse-submodules