Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.7.0

Request #12820 Add glob functionality to PackageFileManager::addReplacement()
Submitted: 2008-01-03 16:42 UTC Modified: 2008-03-23 17:39 UTC
From: izi Assigned: dufuz
Status: Closed Package: PEAR_PackageFileManager (version CVS)
PHP Version: 5.2.5 OS: OpenBSD
Roadmaps: 1.7.0    
Subscription  


 [2008-01-03 16:42 UTC] izi (David Jean Louis)
Description: ------------ It would be very handy to be able to do things like this: <?php [...] $package->addReplacement('CommandLine/*.php', 'package-info', '@package_version@', 'version'); $package->addReplacement('examples/*.php', 'package-info', '@package_version@', 'version'); [...] ?> Using glob this become possible. A patch is attached.

Comments

 [2008-03-23 17:39 UTC] dufuz (Helgi Þormar Þorbjörnsson)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.