From 99b8a2e97da1fe4d48aadf845469cf5939cb377d Mon Sep 17 00:00:00 2001 From: mattias Date: Wed, 10 Jan 2024 12:12:23 +0100 Subject: [PATCH] releasecreator: copy folders --- tools/releasecreator/Pas2jsReleaseCreator.lpr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/releasecreator/Pas2jsReleaseCreator.lpr b/tools/releasecreator/Pas2jsReleaseCreator.lpr index 496b855..5fe82a5 100644 --- a/tools/releasecreator/Pas2jsReleaseCreator.lpr +++ b/tools/releasecreator/Pas2jsReleaseCreator.lpr @@ -458,9 +458,10 @@ begin CopyFolder('utils'); // copy all tools except releasecreator - if FindFirst(SourceDir+'tools'+AllFilesMask,faAnyFile,Info)=0 then begin + if FindFirst(SourceDir+'tools'+PathDelim+AllFilesMask,faAnyFile,Info)=0 then begin repeat if (Info.Name='') or (Info.Name='.') or (Info.Name='..') then continue; + if (Info.Name='releasecreator') then continue; if (Info.Attr and faDirectory)>0 then begin CopyFolder('tools'+PathDelim+Info.Name); end