Skip to content

Commit

Permalink
Show files visible in docker before failing
Browse files Browse the repository at this point in the history
Belonging to [master]:
  - OpenModelica/OMCompiler#3025
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Apr 2, 2019
1 parent 0464950 commit 384c6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScriptBackend.mo
Expand Up @@ -3428,7 +3428,7 @@ algorithm
algorithm
uid := System.getuid();
cmd := "docker run "+(if uid<>0 then "--user " + String(uid) else "")+" --rm -w /fmu -v "+quote+System.realpath(fmutmp+"/..")+quote+":/fmu -v "+quote+System.realpath(includeDefaultFmi)+quote+":/fmiInclude "+stringDelimitList(rest," ")+ " sh -c " + dquote +
"cd " + dquote + System.basename(fmutmp) + "/sources" + dquote + " && " +
"(cd " + dquote + System.basename(fmutmp) + "/sources" + dquote + " || (ls -lh ; false)) && " +
"./configure --host="+quote+host+quote+" CFLAGS="+quote+"-Os"+quote+" CPPFLAGS=-I/fmiInclude LDFLAGS= && " +
nozip + dquote;
if 0 <> System.systemCall(cmd, outFile=logfile) then
Expand Down

0 comments on commit 384c6f8

Please sign in to comment.