Cooja: Fix command line override of ContikiPath
Without the fix the command line parameter was overwritten by the simulation configuration.
This commit is contained in:
parent
32aa70e5cf
commit
64c0b9c241
|
@ -2790,11 +2790,7 @@ public class GUI extends Observable {
|
|||
* New value
|
||||
*/
|
||||
public static void setExternalToolsSetting(String name, String newVal) {
|
||||
if (specifiedContikiPath != null && "PATH_CONTIKI".equals(name)) {
|
||||
specifiedContikiPath = newVal;
|
||||
} else {
|
||||
currentExternalToolsSettings.setProperty(name, newVal);
|
||||
}
|
||||
currentExternalToolsSettings.setProperty(name, newVal);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue