From: Michael Wallner Date: Fri, 25 Oct 2019 08:26:49 +0000 (+0200) Subject: ws X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1e177129e49bd122370ed0d79d275220e82fab19;p=pharext%2Freplicator.pharext.org ws --- diff --git a/bin/pecl+sig b/bin/pecl+sig index b093c0e..02c3d15 100755 --- a/bin/pecl+sig +++ b/bin/pecl+sig @@ -73,10 +73,10 @@ function work($url, $dir) { require_once __DIR__."/../vendor/autoload.php"; $packager = new pharext\Packager; $packager->run(5, [ - $_SERVER["argv"][0], - "-qps", - $url, - "-Zzd", + $_SERVER["argv"][0], + "-qps", + $url, + "-Zzd", $dir ]); }; @@ -102,14 +102,14 @@ if (($sxe = simplexml_load_file("https://pecl.php.net/feeds/$what.rss"))) { break; } } - + if (count($pids) > 5) { wait($pids); } } while (wait($pids)) ; - + }