From 128173bda500e85a76e5944b7ae4f7f745ea477d Mon Sep 17 00:00:00 2001 From: Artem Kuznetsov Date: Thu, 5 Oct 2023 16:19:02 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=81=D0=BF=D0=BE=D1=81=D0=BE=D0=B1=20=D0=BE=D1=87?= =?UTF-8?q?=D0=B8=D1=81=D1=82=D0=BA=D0=B8=20=D0=BA=D0=B0=D1=82=D0=B0=D0=BB?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=D0=B2=20=D0=BD=D0=B0=D0=B7=D0=BD=D0=B0=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/conf2edt.cmd | 5 ++++- scripts/conf2xml.cmd | 5 ++++- scripts/dp2edt.cmd | 5 ++++- scripts/dp2epf.cmd | 5 ++++- scripts/dp2xml.cmd | 5 ++++- scripts/ext2edt.cmd | 5 ++++- scripts/ext2xml.cmd | 5 ++++- 7 files changed, 28 insertions(+), 7 deletions(-) diff --git a/scripts/conf2edt.cmd b/scripts/conf2edt.cmd index 3f08e07..868ccfb 100644 --- a/scripts/conf2edt.cmd +++ b/scripts/conf2edt.cmd @@ -88,7 +88,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_CONF_EDT_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_CONF_EDT_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Checking configuration source type... diff --git a/scripts/conf2xml.cmd b/scripts/conf2xml.cmd index 4c4e5d5..5051f31 100644 --- a/scripts/conf2xml.cmd +++ b/scripts/conf2xml.cmd @@ -87,7 +87,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_CONF_XML_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_CONF_XML_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Checking configuration source type... diff --git a/scripts/dp2edt.cmd b/scripts/dp2edt.cmd index 78213cd..04df377 100644 --- a/scripts/dp2edt.cmd +++ b/scripts/dp2edt.cmd @@ -101,7 +101,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_DP_EDT_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_DP_EDT_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Set infobase for export data processor/report... diff --git a/scripts/dp2epf.cmd b/scripts/dp2epf.cmd index 0990f13..039c8c6 100644 --- a/scripts/dp2epf.cmd +++ b/scripts/dp2epf.cmd @@ -101,7 +101,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_DP_BIN_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_DP_BIN_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Set infobase for export data processor/report... diff --git a/scripts/dp2xml.cmd b/scripts/dp2xml.cmd index 80c1c6c..31fe27a 100644 --- a/scripts/dp2xml.cmd +++ b/scripts/dp2xml.cmd @@ -100,7 +100,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_DP_XML_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_DP_XML_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Set infobase for export data processor/report... diff --git a/scripts/ext2edt.cmd b/scripts/ext2edt.cmd index 039b7b5..23785bf 100644 --- a/scripts/ext2edt.cmd +++ b/scripts/ext2edt.cmd @@ -113,7 +113,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_EXT_EDT_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_EXT_EDT_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Set infobase for export configuration extension... diff --git a/scripts/ext2xml.cmd b/scripts/ext2xml.cmd index bb5afb4..ac9548f 100644 --- a/scripts/ext2xml.cmd +++ b/scripts/ext2xml.cmd @@ -112,7 +112,10 @@ IF %ERROR_CODE% neq 0 ( echo [INFO] Clear temporary files... IF exist "%LOCAL_TEMP%" rd /S /Q "%LOCAL_TEMP%" md "%LOCAL_TEMP%" -IF exist "%V8_DST_PATH%" IF "%V8_EXT_XML_CLEAN_DST%" equ "1" rd /S /Q "%V8_DST_PATH%" +IF exist "%V8_DST_PATH%" IF "%V8_EXT_XML_CLEAN_DST%" equ "1" ( + del /f /s /q "%V8_DST_PATH%\*.*" > nul + rd /S /Q "%V8_DST_PATH%" +) IF not exist "%V8_DST_PATH%" md "%V8_DST_PATH%" echo [INFO] Set infobase for export configuration extension...