-ext -> .ext
authorMichael Wallner <mike@php.net>
Wed, 4 Mar 2015 14:42:30 +0000 (15:42 +0100)
committerMichael Wallner <mike@php.net>
Wed, 4 Mar 2015 14:42:30 +0000 (15:42 +0100)
src/pharext/Packager.php

index 3408c75d8b0ac8c637c93a423cea631167fa6499..4379bb6ee093c78ed63bfa19776ffbf0e49707ba 100644 (file)
@@ -174,7 +174,7 @@ class Packager implements Command
                }
 
                foreach (glob($pkgtemp."*") as $pkgtemp) {
-                       $pkgfile = str_replace($pkguniq, "{$pkgdesc}-ext", $pkgtemp);
+                       $pkgfile = str_replace($pkguniq, "{$pkgdesc}.ext", $pkgtemp);
                        $pkgname = $this->args->dest ."/". basename($pkgfile);
                        $this->info("Finalizing %s ... ", $pkgname);
                        if (!rename($pkgtemp, $pkgname)) {