[40561] trunk/dports/lang/mercury/Portfile

jmr at macports.org jmr at macports.org
Mon Oct 6 14:16:22 PDT 2008


Revision: 40561
          http://trac.macports.org/changeset/40561
Author:   jmr at macports.org
Date:     2008-10-06 14:16:22 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
mercury: remove use of cd

Modified Paths:
--------------
    trunk/dports/lang/mercury/Portfile

Modified: trunk/dports/lang/mercury/Portfile
===================================================================
--- trunk/dports/lang/mercury/Portfile	2008-10-06 21:15:03 UTC (rev 40560)
+++ trunk/dports/lang/mercury/Portfile	2008-10-06 21:16:22 UTC (rev 40561)
@@ -52,11 +52,11 @@
 # destroot phase.  This is a consequence of the mercury build
 # scheme.
 
-build		{ cd ${worksrcpath}
-		  system "make INSTALL_PREFIX=${destroot}${prefix}"
+build		{
+		  system "cd ${worksrcpath} && make INSTALL_PREFIX=${destroot}${prefix}"
 		}
 
-destroot	{ cd ${worksrcpath}
-		  system "make INSTALL_PREFIX=${destroot}${prefix} \
+destroot	{
+		  system "cd ${worksrcpath} && make INSTALL_PREFIX=${destroot}${prefix} \
 			       MERCURY_COMPILER=${worksrcpath}/compiler/mercury_compile install"
 		}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/81a8b692/attachment.html 


More information about the macports-changes mailing list