From: Michael Wallner Date: Fri, 25 Oct 2019 08:27:05 +0000 (+0200) Subject: lowercase actual package name X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=e9a25f38eb2e42c42d50d212893e9195b13aa364;p=pharext%2Freplicator.pharext.org lowercase actual package name --- diff --git a/bin/pecl+sig b/bin/pecl+sig index 02c3d15..17ed73b 100755 --- a/bin/pecl+sig +++ b/bin/pecl+sig @@ -86,7 +86,7 @@ if (($sxe = simplexml_load_file("https://pecl.php.net/feeds/$what.rss"))) { list($pkg, $ver) = explode(" ", (string) $item->title); $url = sprintf("https://pecl.php.net/get/%s/%s", $pkg, $ver); $skp = sprintf("%s/../skip/%s/%s", __DIR__, $pkg, $ver); - $ext = sprintf("%s/../public/phars/%s/%s-%s.ext.phar", __DIR__, $pkg, $pkg, $ver); + $ext = sprintf("%s/../public/phars/%s/%s-%s.ext.phar", __DIR__, $pkg, strtolower($pkg), $ver); $dir = dirname($ext); if (!is_file($skp) && !is_file($ext)) {