diff options
author | Kostas Andrianos <andrianos.ks> | 2019-01-14 04:40:32 +0200 |
---|---|---|
committer | Kostas Andrianos <andrianos.ks> | 2019-01-14 04:52:03 +0200 |
commit | 7b243530d7a3c4eb20d88149ebbca04170cd3b67 (patch) | |
tree | 2bc0859e3507e0c1456fc5e5fcc9681b3e9a4797 /tools | |
parent | 5a4a93948ccc18f5ed448d53191928839f4aa492 (diff) |
Add missing POP to return to the calling directory after error
Diffstat (limited to 'tools')
-rw-r--r-- | tools/buildsteps/windows/download-dependencies.bat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/download-dependencies.bat b/tools/buildsteps/windows/download-dependencies.bat index d8e8ff3178..a316de08be 100644 --- a/tools/buildsteps/windows/download-dependencies.bat +++ b/tools/buildsteps/windows/download-dependencies.bat @@ -53,6 +53,12 @@ IF NOT EXIST %FORMED_OK_FLAG% ( ECHO C:\^> SET KODI_MIRROR=http://example.com/pub/xbmc/ ECHO. ECHO Then, rerun this script. + + REM Restore the previous current directory + POPD + + ENDLOCAL + EXIT /B 101 ) |