]> granicus.if.org Git - php/commitdiff
* missing file role message could be mistaken for missing maintainer role
authorStig Bakken <ssb@php.net>
Sat, 13 Apr 2002 00:20:40 +0000 (00:20 +0000)
committerStig Bakken <ssb@php.net>
Sat, 13 Apr 2002 00:20:40 +0000 (00:20 +0000)
pear/PEAR/Common.php

index a34db4f7275180124a3e0daeab74bc1c8dc32a89..f9dccc6cd4e26bd548799d798cb943cb8c06b088 100644 (file)
@@ -983,11 +983,11 @@ class PEAR_Common extends PEAR
         } else {
             foreach ($info['filelist'] as $file => $fa) {
                 if (empty($fa['role'])) {
-                    $errors[] = "$file: missing role";
+                    $errors[] = "file $file: missing role";
                 } elseif (!in_array($fa['role'], $this->file_roles)) {
-                    $errors[] = "$file: invalid role, should be one of: ".implode(' ', $this->file_roles);
+                    $errors[] = "file $file: invalid role, should be one of: ".implode(' ', $this->file_roles);
                 } elseif ($fa['role'] == 'extsrc' && empty($fa['sources'])) {
-                    $errors[] = "$file: no source files";
+                    $errors[] = "file $file: no source files";
                 }
                 // (ssb) Any checks we can do for baseinstalldir?
                 // (cox) Perhaps checks that either the target dir and baseInstall