Skip to content

Commit

Permalink
Also only install libraries if the user libraries path is on the MODE…
Browse files Browse the repository at this point in the history
…LICAPATH

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23694 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Dec 8, 2014
1 parent da5bbac commit 0c53cff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/FrontEnd/ClassLoader.mo
Expand Up @@ -160,6 +160,7 @@ algorithm
pwd := System.pwd();
userLibraries := Settings.getHomeDir(Config.getRunningTestsuiteFile()<>"") + "/.openmodelica/libraries/";
true := System.directoryExists(userLibraries);
true := listMember(userLibraries, mps);
System.cd(userLibraries);
version := match prios
case version::_ guard version <> "default" then version;
Expand Down

0 comments on commit 0c53cff

Please sign in to comment.