Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-02-12 07:19:10 -0500
committerUwe Stieber2014-02-12 07:19:10 -0500
commitf84bb38252c2991df4c9e7615bd7f336df23f6d7 (patch)
tree4900df3b952ff4046fed3a8f664af51fbda35ea8
parent84d7f1e54017511eb7de145b4a53cac28bb611bb (diff)
downloadorg.eclipse.tcf-f84bb38252c2991df4c9e7615bd7f336df23f6d7.tar.gz
org.eclipse.tcf-f84bb38252c2991df4c9e7615bd7f336df23f6d7.tar.xz
org.eclipse.tcf-f84bb38252c2991df4c9e7615bd7f336df23f6d7.zip
Target Explorer: Process launcher environment utility to keep environment variables set with no value
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java
index c9943df5f..766a03a23 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime/src/org/eclipse/tcf/te/runtime/utils/Env.java
@@ -90,8 +90,6 @@ public class Env {
if ("".equals(name.trim()) || name.contains("=") || name.contains(":")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
continue;
}
- // If the variable has no value, ignore the variable
- if (parts.length < 2) continue;
}
// Get the variable value
String value = parts.length > 1 ? parts[1].trim() : ""; //$NON-NLS-1$

Back to the top