From: Michael Wallner Date: Tue, 10 Sep 2019 13:05:35 +0000 (+0200) Subject: fix signing X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=d99c29923d4822ca1cce6cb3a285c15572571617;p=pharext%2Freplicator.pharext.org fix signing --- diff --git a/bin/pecl+sig b/bin/pecl+sig index 85bc2b5..7c6b9af 100755 --- a/bin/pecl+sig +++ b/bin/pecl+sig @@ -24,9 +24,11 @@ function fail($pkg, $ver, $skp, $fmt) { } function sign($pkg, $ext) { - $fmt = "%s/%s-sign %s %s"; + $fmt = "%s/%s-sign %s %s%s"; foreach (["rsa", "gpg"] as $sig) { - passthru(sprintf($fmt, __DIR__, $sig, $pkg, $ext)); + foreach (["", ".gz", ".bz2"] as $typ) { + passthru(sprintf($fmt, __DIR__, $sig, $pkg, $ext, $typ)); + } } }