[33273] trunk/dports/www/php4/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jan 22 03:32:20 PST 2008
Revision: 33273
http://trac.macosforge.org/projects/macports/changeset/33273
Author: ryandesign at macports.org
Date: 2008-01-22 03:32:17 -0800 (Tue, 22 Jan 2008)
Log Message:
-----------
php4: no longer use the deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/www/php4/Portfile
Modified: trunk/dports/www/php4/Portfile
===================================================================
--- trunk/dports/www/php4/Portfile 2008-01-22 11:31:18 UTC (rev 33272)
+++ trunk/dports/www/php4/Portfile 2008-01-22 11:32:17 UTC (rev 33273)
@@ -221,9 +221,8 @@
xinstall -m 755 ${workpath}/${worksrcdir}/php.ini-recommended ${destroot}${prefix}/etc/php.ini-recommended
# rename files
- cd ${destroot}${prefix}
- file rename bin/pear bin/pear4
- reinplace "s|${prefix}/bin/php|${prefix}/bin/php4|g" bin/pear4
+ file rename ${destroot}${prefix}/bin/pear ${destroot}${prefix}/bin/pear4
+ reinplace "s|${prefix}/bin/php|${prefix}/bin/php4|g" ${destroot}${prefix}/bin/pear4
#nuke pear-stuff in ${destroot}
system "cd ${destroot} && rm -rf .channels .depdb .depdblock .filemap .lock"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080122/cb1ad44b/attachment.html
More information about the macports-changes
mailing list