Skip to content

Commit

Permalink
- Symlink Modelica 3.1 to Modelica in the directory we try to run Bui…
Browse files Browse the repository at this point in the history
…ldModelRecursive.mos in order to avoid problems with the Modelica.Utilities tests

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11058 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 9, 2012
1 parent 7614b72 commit b57a908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Examples/BuildModelRecursive.mos
Expand Up @@ -3,6 +3,7 @@
log:="BuildModelRecursive.log";
loadModel(Modelica,{"3.1"});

system("ln -s '"+getInstallationDirectoryPath()+"/lib/omlibrary/Modelica 3.1/' Modelica");
omc:=getInstallationDirectoryPath()+"/bin/omc";
a:={typeNameString(x) for x guard max("Examples" == s for s in typeNameStrings(x)) and isModel(x) and (not isPartial(x)) in getClassNames(recursive=true)};
isModel(Modelica.Blocks.Examples.PID_Controller);
Expand Down

0 comments on commit b57a908

Please sign in to comment.