Summary: I somehow missed it.
Test Plan: Sent this diff by different copy of Arcanist.
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4800
$libphutil_path = dirname(phutil_get_library_root('phutil'));
}
- $err = phutil_passthru(
- phutil_is_windows()
- ? 'set ARC_PHUTIL_PATH=%s & %Ls'
- : 'ARC_PHUTIL_PATH=%s %Ls',
- $libphutil_path,
- $original_argv);
+ if (phutil_is_windows()) {
+ $err = phutil_passthru(
+ 'set ARC_PHUTIL_PATH=%s & %Ls',
+ $libphutil_path,
+ $original_argv);
+ } else {
+ $err = phutil_passthru(
+ 'ARC_PHUTIL_PATH=%s %Ls',
+ $libphutil_path,
+ $original_argv);
+ }
exit($err);
}