@@ -61,8 +61,8 @@ implementation
6161 cTestBash = ' test_all.sh' ;
6262 cRunBash = ' run_all.sh' ;
6363
64- cLazbuild = ' %s -B "%s%s%s "' ;
65- cLazbuildRelease = ' %s -B --bm="Release" "%s%s%s "' ;
64+ cLazbuild = ' %s -B "%s"' ;
65+ cLazbuildRelease = ' %s -B --bm="Release" "%s"' ;
6666
6767 cReplaceName = ' [[name]]' ;
6868 cReplaceJSONResults = ' [[results-json]]' ;
@@ -151,9 +151,13 @@ procedure TBuilder.BuildCompileScriptBash;
151151 line:= line +
152152 Format(cLazbuildRelease, [
153153 FConfig.Lazbuild,
154- IncludeTrailingPathDelimiter(FConfig.EntriesFolder),
155- IncludeTrailingPathDelimiter(FConfig.Entries[index].EntryFolder),
156- FConfig.Entries[index].LPI
154+ ExpandFileName(
155+ ConcatPaths([
156+ IncludeTrailingPathDelimiter(FConfig.EntriesFolder),
157+ IncludeTrailingPathDelimiter(FConfig.Entries[index].EntryFolder),
158+ FConfig.Entries[index].LPI
159+ ])
160+ )
157161 ] ) +
158162 LineEnding;
159163 end
@@ -162,9 +166,13 @@ procedure TBuilder.BuildCompileScriptBash;
162166 line:= line +
163167 Format(cLazbuild, [
164168 FConfig.Lazbuild,
165- IncludeTrailingPathDelimiter(FConfig.EntriesFolder),
166- IncludeTrailingPathDelimiter(FConfig.Entries[index].EntryFolder),
167- FConfig.Entries[index].LPI
169+ ExpandFileName(
170+ ConcatPaths([
171+ IncludeTrailingPathDelimiter(FConfig.EntriesFolder),
172+ IncludeTrailingPathDelimiter(FConfig.Entries[index].EntryFolder),
173+ FConfig.Entries[index].LPI
174+ ])
175+ )
168176 ] ) +
169177 LineEnding;
170178 end ;
0 commit comments