[32654] trunk/dports/x11/xroot/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Jan 10 04:49:33 PST 2008


Revision: 32654
          http://trac.macosforge.org/projects/macports/changeset/32654
Author:   ryandesign at macports.org
Date:     2008-01-10 04:49:29 -0800 (Thu, 10 Jan 2008)

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

Modified Paths:
--------------
    trunk/dports/x11/xroot/Portfile

Modified: trunk/dports/x11/xroot/Portfile
===================================================================
--- trunk/dports/x11/xroot/Portfile	2008-01-10 12:45:55 UTC (rev 32653)
+++ trunk/dports/x11/xroot/Portfile	2008-01-10 12:49:29 UTC (rev 32654)
@@ -28,8 +28,7 @@
 }
 build       {
     file copy ${distpath}/${distfile} ${worksrcpath}
-    cd ${worksrcpath}
-    system "c++ ${distfile} -Wall -L${x11prefix}/lib -I${x11prefix}/include -lX11 -o xroot"
+    system "cd ${worksrcpath} && c++ ${distfile} -Wall -L${x11prefix}/lib -I${x11prefix}/include -lX11 -o xroot"
 }
 destroot    {
     system "install -m 755 ${worksrcpath}/xroot ${destroot}${prefix}/bin/"

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


More information about the macports-changes mailing list