Permalink
Browse files

Don't use absolute path in `ArcanistDiffUtils`

Summary: Improves Windows compatibility.

Test Plan: Ran failing unit test on Windows.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5344
  • Loading branch information...
1 parent e0702d1 commit 337f7f83ea947ad72dae37e8f3768ee97f7bba35 @vrana vrana committed Mar 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/difference/ArcanistDiffUtils.php
@@ -38,7 +38,7 @@ public static function renderDifferences(
Filesystem::writeFile($file_new, (string)$new."\n");
list($err, $stdout) = exec_manual(
- '/usr/bin/diff %C -U %s %s %s',
+ 'diff %C -U %s %s %s',
$diff_options,
$context_lines,
$file_old,

0 comments on commit 337f7f8

Please sign in to comment.