diff --git a/src/workflow/liberate/ArcanistLiberateWorkflow.php b/src/workflow/liberate/ArcanistLiberateWorkflow.php index 81ddbc77..dea2a113 100644 --- a/src/workflow/liberate/ArcanistLiberateWorkflow.php +++ b/src/workflow/liberate/ArcanistLiberateWorkflow.php @@ -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')); diff --git a/src/workflow/liberate/__init__.php b/src/workflow/liberate/__init__.php index aab0b048..ef7a7c2a 100644 --- a/src/workflow/liberate/__init__.php +++ b/src/workflow/liberate/__init__.php @@ -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');