Skip to content

Commit

Permalink
- fix the fix :)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17387 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Sep 26, 2013
1 parent ed535d8 commit 2307c98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/Util/Util.mo
Expand Up @@ -3953,11 +3953,12 @@ algorithm
equation
// we're running the testsuite
true = Config.getRunningTestsuite();
// directory does not exist in this directory
// directory or file does not exist in this directory
false = System.directoryExists(inPath);
false = System.regularFileExists(inPath);
// prefix the path
path = "../" +& inPath;
true = System.directoryExists(path);
true = System.directoryExists(path) or System.regularFileExists(path);
then
path;

Expand Down

0 comments on commit 2307c98

Please sign in to comment.