verify signature after build
[pharext/replicator.pharext.org] / bin / pecl+sig
index 7c6b9af7ec5acb99b86aee0e3332d4a28aff458c..b093c0e369636418c20b6c009b0ba401800302d8 100755 (executable)
@@ -24,10 +24,11 @@ function fail($pkg, $ver, $skp, $fmt) {
 }
 
 function sign($pkg, $ext) {
-       $fmt = "%s/%s-sign %s %s%s";
+       $fmt = "%s/%s-%s %s %s%s";
        foreach (["rsa", "gpg"] as $sig) {
                foreach (["", ".gz", ".bz2"] as $typ) {
-                       passthru(sprintf($fmt, __DIR__, $sig, $pkg, $ext, $typ));
+                       passthru(sprintf($fmt, __DIR__, $sig, "sign", $pkg, $ext, $typ));
+                       passthru(sprintf($fmt, __DIR__, $sig, "vrfy", $pkg, $ext, $typ));
                }
        }
 }