Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit a2024ab

Browse files
sjoelundOpenModelica-Hudson
authored andcommitted
Fix path used to debug docker run in FMI cross-compile
Belonging to [master]: - #3029
1 parent 304f353 commit a2024ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Script/CevalScriptBackend.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3435,7 +3435,7 @@ algorithm
34353435
end if;
34363436
end for;
34373437
cmd := "docker run "+(if uid<>0 then "--user " + String(uid) else "")+" --rm -w /fmu -v "+quote+path1+quote+":/fmu -v "+quote+System.realpath(includeDefaultFmi)+quote+":/fmiInclude "+stringDelimitList(rest," ")+ " sh -c " + dquote +
3438-
"(cd " + dquote + path2 + "/sources" + dquote + " || (ls -lh ; false)) && " +
3438+
"(cd " + dquote + "/fmu/" + System.basename(fmutmp) + "/sources" + dquote + " || (ls -lh /fmu ; false)) && " +
34393439
"./configure --host="+quote+host+quote+" CFLAGS="+quote+"-Os"+quote+" CPPFLAGS=-I/fmiInclude LDFLAGS= && " +
34403440
nozip + dquote;
34413441
if 0 <> System.systemCall(cmd, outFile=logfile) then

0 commit comments

Comments
 (0)