Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -2511,7 +2511,7 @@ |
2512 | 2512 | * Note however that the quote isn't listed there, but is needed, and the parentheses |
2513 | 2513 | * are listed there but doesn't appear to need it. |
2514 | 2514 | */ |
2515 | | - $envcmd .= "set $k=" . preg_replace( '/([&|()<>^"])/', '^\\1', $v ) . ' && '; |
| 2515 | + $envcmd .= "set $k=" . preg_replace( '/([&|()<>^"])/', '^\\1', $v ) . '&& '; |
2516 | 2516 | } else { |
2517 | 2517 | /* Assume this is a POSIX shell, thus required to accept variable assignments before the command |
2518 | 2518 | * http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_09_01 |