Skip to content

Commit

Permalink
- use remove(messageFile) instead of system("rm -f " + messageFile);
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24561 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Feb 13, 2015
1 parent 34bce09 commit 46dd119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/boot/CompileFile.mos
Expand Up @@ -28,7 +28,7 @@ if numMessages > 0 or not status then
exit(1);
end if;
else
system("rm -f " + messageFile);
remove(messageFile);
end if;
files:={typeNameString(mainClass) + ext for ext in {".c",".h","_includes.h","_records.c",".deps"}};getErrorString();
{compareFilesAndMove(file,"../" + file) for file in files};
Expand Down

0 comments on commit 46dd119

Please sign in to comment.