IDE Command line: using "isAbsolute" instead of "exists" to avoid conflicting with files in IDE install location

This commit is contained in:
Federico Fissore 2013-10-28 12:50:17 +01:00
parent d133365cc1
commit 5284c3a3e6
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ public class Base {
e.printStackTrace();
}
}
if (!new File(path).exists()) {
if (!new File(path).isAbsolute()) {
path = new File(currentDirectory, path).getAbsolutePath();
}
if (handleOpen(path) != null) {