Skip to content

Commit

Permalink
Fix path that the FMU binary is copied back into
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#3031
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Apr 3, 2019
1 parent 7984f74 commit 73c7be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScriptBackend.mo
Expand Up @@ -3479,7 +3479,7 @@ algorithm
fail();
end if;
// Copy the files back from the volume (via the container) to the filesystem
cmd := "docker cp " + quote + containerID + ":/data/" + fmutmp + quote + " " + quote + fmutmp + quote;
cmd := "docker cp " + quote + containerID + ":/data/" + fmutmp + quote + " .";
if 0 <> System.systemCall(cmd, outFile=logfile) then
Error.addMessage(Error.SIMULATOR_BUILD_ERROR, {cmd + ":\n" + System.readFile(logfile)});
fail();
Expand Down

0 comments on commit 73c7be8

Please sign in to comment.