[32682] trunk/dports/devel/otest/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 10 23:07:51 PST 2008


Revision: 32682
          http://trac.macosforge.org/projects/macports/changeset/32682
Author:   ryandesign at macports.org
Date:     2008-01-10 23:07:48 -0800 (Thu, 10 Jan 2008)

Log Message:
-----------
otest: don't use deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/devel/otest/Portfile

Modified: trunk/dports/devel/otest/Portfile
===================================================================
--- trunk/dports/devel/otest/Portfile	2008-01-11 00:12:22 UTC (rev 32681)
+++ trunk/dports/devel/otest/Portfile	2008-01-11 07:07:48 UTC (rev 32682)
@@ -38,9 +38,8 @@
 configure		{}
 
 post-patch {
-	cd ${worksrcpath}
-	reinplace "s/~//" ${name}.1 ${xcode.project}/project.pbxproj
-	reinplace "s|/usr/local|${prefix}/share|" ${xcode.project}/project.pbxproj
+	reinplace "s/~//" ${worksrcpath}/${name}.1 ${worksrcpath}/${xcode.project}/project.pbxproj
+	reinplace "s|/usr/local|${prefix}/share|" ${worksrcpath}/${xcode.project}/project.pbxproj
 }
 
 post-activate {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080110/ec6a2dd1/attachment.html


More information about the macports-changes mailing list