From 41b96e2ce5ea59ce5b89a17d55553001c2d02bc7 Mon Sep 17 00:00:00 2001 From: dzaitsev Date: Wed, 7 May 2025 15:58:48 +0300 Subject: [PATCH] Revert "init.cmd - fix for Jenkins incorrect handle of pushd/popd" This reverts commit b8b4a33f9f91c547bd5b63f1a25d57a9236ccae5. --- build/init.cmd | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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