From 1e177129e49bd122370ed0d79d275220e82fab19 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 25 Oct 2019 10:26:49 +0200 Subject: [PATCH] ws --- bin/pecl+sig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)) ; - + } -- 2.30.2