Author: fthomas
Date: Thu Dec  6 07:33:51 2012
New Revision: 1417755

URL: http://svn.apache.org/viewvc?rev=1417755&view=rev
Log:
- Fixed: The get environment variable was forgotten while preparing for win, 
mac and linux

Modified:
    
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/GetEnvironmentVariablesCommand.as

Modified: 
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/GetEnvironmentVariablesCommand.as
URL: 
http://svn.apache.org/viewvc/incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/GetEnvironmentVariablesCommand.as?rev=1417755&r1=1417754&r2=1417755&view=diff
==============================================================================
--- 
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/GetEnvironmentVariablesCommand.as
 (original)
+++ 
incubator/flex/whiteboard/fthomas/developerToolSuite/trunk/org.apache.flex.utilities.developerToolSuite.executor-lib/src/main/flex/org/apache/flex/utilities/developerToolSuite/executor/infrastructure/command/GetEnvironmentVariablesCommand.as
 Thu Dec  6 07:33:51 2012
@@ -31,8 +31,11 @@ package org.apache.flex.utilities.develo
 
         override protected function executeCommand():void {
 
-            command.push("/C");
-            command.push("set");
+            if (shell.OS == "win") {
+                command.push("/C");
+                command.push("set");
+            }
+            else command.push("env");
 
             super.executeCommand();
         }


Reply via email to