Commits

James Dumay committed 4214c36

Builder tries to add to its own environmentmap

  • Participants
  • Parent commits 26adf01

Comments (0)

Files changed (1)

File processutils/src/main/java/com/atlassian/utils/process/ExternalProcessBuilder.java

     }
 
     public ExternalProcessBuilder env(String variable, String value) {
-        environment.put(variable, value);
+        this.environment.put(variable, value);
         return this;
     }
     
     public ExternalProcessBuilder env(Map<String, String> environment) {
-        environment.putAll(environment);
+        this.environment.putAll(environment);
         return this;
     }