IDEA-149738 'Include parent environment variables' option is ignored when environment...
authorAnton Makeev <Anton.Makeev@jetbrains.com>
Wed, 23 Dec 2015 10:40:12 +0000 (11:40 +0100)
committerAnton Makeev <Anton.Makeev@jetbrains.com>
Wed, 23 Dec 2015 10:40:12 +0000 (11:40 +0100)
CPP-5453 'Include parent environment' option in Run Configurations should be 'on' by default

platform/lang-api/src/com/intellij/execution/configurations/SimpleProgramParameters.java

index b157d6ba7852db240da5d66532cc2cca8a00bf4e..df3b8a87281fdebd6a5220a8e000df7f85be4f2c 100644 (file)
@@ -72,7 +72,7 @@ public class SimpleProgramParameters {
       final HashMap<String, String> map = new HashMap<String, String>(envs);
       EnvironmentUtil.inlineParentOccurrences(map);
       setEnv(map);
-      setPassParentEnvs(passDefault);
     }
+    setPassParentEnvs(passDefault);
   }
 }