Commit be126350 authored by Dave Syer's avatar Dave Syer

Ensure env vars are consulted for PATH

parent 281c6502
...@@ -261,7 +261,7 @@ public class PropertiesLauncher extends Launcher { ...@@ -261,7 +261,7 @@ public class PropertiesLauncher extends Launcher {
} }
private void initializePaths() throws IOException { private void initializePaths() throws IOException {
String path = System.getProperty(PATH); String path = SystemPropertyUtils.getProperty(PATH);
if (path == null) { if (path == null) {
path = this.properties.getProperty(PATH); path = this.properties.getProperty(PATH);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment