Skip to content

Commit

Permalink
Don't use absolute path in ArcanistDiffUtils
Browse files Browse the repository at this point in the history
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
vrana committed Mar 14, 2013
1 parent e0702d1 commit 337f7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/difference/ArcanistDiffUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 337f7f8

Please sign in to comment.