mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 17:57:58 +02:00
* quote assembly filenames in Unix script, fixes sh errors with smartlinked small filenames like unitname(1), etc
git-svn-id: trunk@37917 -
This commit is contained in:
parent
75158d02ca
commit
3dda26b3b5
@ -359,9 +359,9 @@ end;
|
||||
Procedure TAsmScriptUnix.AddAsmCommand (Const Command, Options,FileName : TCmdStr);
|
||||
begin
|
||||
if FileName<>'' then
|
||||
Add('echo Assembling '+ScriptFixFileName(FileName));
|
||||
Add('echo Assembling '+maybequoted(ScriptFixFileName(FileName)));
|
||||
Add(maybequoted(command)+' '+Options);
|
||||
Add('if [ $? != 0 ]; then DoExitAsm '+ScriptFixFileName(FileName)+'; fi');
|
||||
Add('if [ $? != 0 ]; then DoExitAsm '+maybequoted(ScriptFixFileName(FileName))+'; fi');
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user