mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (formatting)
This commit is contained in:
+6
-3
@@ -400,9 +400,12 @@ public class GeneralCommandLine implements UserDataHolder {
|
||||
environment.putAll(myEnvParams);
|
||||
}
|
||||
}
|
||||
File workDirectory = getWorkDirectory();
|
||||
if (SystemInfo.isUnix && workDirectory != null) {
|
||||
environment.put("PWD", FileUtil.toSystemDependentName(workDirectory.getAbsolutePath()));
|
||||
|
||||
if (SystemInfo.isUnix) {
|
||||
File workDirectory = getWorkDirectory();
|
||||
if (workDirectory != null) {
|
||||
environment.put("PWD", FileUtil.toSystemDependentName(workDirectory.getAbsolutePath()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user