lowercase pkg name for pear rest
authorMichael Wallner <root@s201809.m6w6.name>
Wed, 3 Apr 2019 10:22:20 +0000 (12:22 +0200)
committerMichael Wallner <root@s201809.m6w6.name>
Wed, 3 Apr 2019 11:52:25 +0000 (13:52 +0200)
bin/pecl+sig

index dd3de50e7ef534598c06798e1e26d0e0524ba911..85bc2b5720c003c8dd6c56ab1c61d2b7715795de 100755 (executable)
@@ -31,6 +31,7 @@ function sign($pkg, $ext) {
 }
 
 function info($pkg, $dir) {
+       $pkg = strtolower($pkg);
        $inf = file_get_contents("https://pecl.php.net/rest/p/$pkg/info.xml");
        if ($inf) {
                file_put_contents("$dir/info.xml", $inf);