summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/misc/build-native.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/misc/build-native.bat b/main/misc/build-native.bat
index 1214464b..8f1323e5 100644
--- a/main/misc/build-native.bat
+++ b/main/misc/build-native.bat
@@ -41,14 +41,14 @@ if not exist openvpn\.git (
)
if [%1] == [] (
- ndk-build USE_SHORT_COMMANDS=1 -j 8 USE_BREAKPAD=0
+ call ndk-build USE_SHORT_COMMANDS=1 -j 8 USE_BREAKPAD=0
) else (
- ndk-build USE_SHORT_COMMANDS=1 %*
+ call ndk-build USE_SHORT_COMMANDS=1 %*
)
if not errorlevel 0 goto error
-rmdir /Q /S ovpnlibs
+if exist ovpnlibs rmdir /Q /S ovpnlibs
cd libs
mkdir ..\ovpnlibs