Skip to content

Commit

Permalink
Remove the extension
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#2221
  • Loading branch information
adeas31 authored and OpenModelica-Hudson committed Feb 19, 2018
1 parent 0792147 commit 0334c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScript.mo
Expand Up @@ -1393,7 +1393,7 @@ algorithm
if (0 == System.systemCall("unzip -q -o -d \"" + workdir + "\" \"" + filename + "\"")) then
b = true;
s1 = System.basename(filename);
s2::_ = System.strtok(s1, ".");
s2 = Util.removeLast3Char(s1);
s3 = System.dirname(filename);
filename1 = s3 + "/" + s2 + "/" + s2 + ".moc";
filename2 = s3 + "/" + s2 + "/package.moc";
Expand Down

0 comments on commit 0334c25

Please sign in to comment.