diff --git a/build/init.cmd b/build/init.cmd index 9e6c981..fafef12 100644 --- a/build/init.cmd +++ b/build/init.cmd @@ -1,18 +1,12 @@ echo Make dirs, copy init dlls +pushd %~dp0.. -:: Change to the directory where init.cmd is located -cd /d %~dp0.. - -:: Create directories if they do not exist if exist dist-dlls rmdir dist-dlls /s /q mkdir dist-dlls if exist dist-azaion rmdir dist-azaion /s /q mkdir dist-azaion echo Copying shared libs - -:: Use robocopy to copy files robocopy "C:\\share" "dist-dlls" "*" -:: Return to the previous directory -cd /d %OLDPWD% +popd \ No newline at end of file