1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-25 16:22:42 +01:00

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
This commit is contained in:
Jakub Vrana 2013-03-14 09:14:50 -07:00
parent e0702d17c2
commit 337f7f83ea

View file

@ -38,7 +38,7 @@ final class ArcanistDiffUtils {
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,