File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
utilities/script_builder/Common Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ implementation
7070 cReplaceEntryInput = ' [[input]]' ;
7171 cReplaceEntryThreads = ' [[threads]]' ;
7272 cCompilerFPC = ' fpc' ;
73+ cSSD = ' SSD' ;
74+ cHDD = ' HDD' ;
7375// cCompilerDelphi = 'delphi';
7476
7577resourcestring
@@ -287,16 +289,16 @@ procedure TBuilder.BuildRunScriptBash;
287289 );
288290 line:= line + ' echo "-- SSD --"' + LineEnding + tmpStr + LineEnding;
289291 // Run for HDD
290- tmpStr:= StringReplace(
291- tmpStr,
292- FConfig.InputSSD,
293- FConfig.InputHDD,
294- [rfReplaceAll]
295- );
296- tmpStr := StringReplace(
292+ tmpStr:= StringsReplace(
297293 tmpStr,
298- ' SSD' ,
299- ' HDD' ,
294+ [
295+ FConfig.InputSSD,
296+ cSSD
297+ ],
298+ [
299+ FConfig.InputHDD,
300+ cHDD
301+ ],
300302 [rfReplaceAll]
301303 );
302304 line:= line + ' echo "-- HDD --"' + LineEnding + tmpStr + LineEnding;
You can’t perform that action at this time.
0 commit comments