mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-23 14:00:55 +01:00
Call phutil_passthru() instead of passthru() in liberate
Summary: Solves T1085 and is probably slightly better anyway. Test Plan: arc liberate Reviewers: epriestley Reviewed By: epriestley CC: aran Maniphest Tasks: T1085 Differential Revision: https://secure.phabricator.com/D2151
This commit is contained in:
parent
2c599f8928
commit
a2c125d4ef
2 changed files with 1 additions and 4 deletions
|
@ -162,9 +162,7 @@ EOTEXT
|
|||
|
||||
echo "Verifying library...\n";
|
||||
|
||||
$err = 0;
|
||||
$cmd = csprintf('%s liberate --verify -- %s', $arc_bin, $path);
|
||||
passthru($cmd, $err);
|
||||
$err = phutil_passthru('%s liberate --verify -- %s', $arc_bin, $path);
|
||||
|
||||
$do_update = (!$err || $this->getArgument('force-update'));
|
||||
|
||||
|
|
|
@ -20,7 +20,6 @@ phutil_require_module('phutil', 'filesystem/filefinder');
|
|||
phutil_require_module('phutil', 'future/exec');
|
||||
phutil_require_module('phutil', 'moduleutils');
|
||||
phutil_require_module('phutil', 'utils');
|
||||
phutil_require_module('phutil', 'xsprintf/csprintf');
|
||||
|
||||
|
||||
phutil_require_source('ArcanistLiberateWorkflow.php');
|
||||
|
|
Loading…
Reference in a new issue