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

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

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 44 - 8 = ?

 [2008-01-03 21: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.


 [2008-03-23 21: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 by the end of next Sunday (CET). If this was a problem with the 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.