[97005] trunk/dports/devel/hs-cabal/Portfile

cal at macports.org cal at macports.org
Fri Aug 24 09:55:02 PDT 2012


Revision: 97005
          https://trac.macports.org/changeset/97005
Author:   cal at macports.org
Date:     2012-08-24 09:55:00 -0700 (Fri, 24 Aug 2012)
Log Message:
-----------
hs-cabal: change system "cd foo &&" to system -W foo, follow-up to r97003

Revision Links:
--------------
    https://trac.macports.org/changeset/97003

Modified Paths:
--------------
    trunk/dports/devel/hs-cabal/Portfile

Modified: trunk/dports/devel/hs-cabal/Portfile
===================================================================
--- trunk/dports/devel/hs-cabal/Portfile	2012-08-24 16:03:09 UTC (rev 97004)
+++ trunk/dports/devel/hs-cabal/Portfile	2012-08-24 16:55:00 UTC (rev 97005)
@@ -34,13 +34,13 @@
                     port:hs-random
 
 configure {
-    system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc} --program-suffix=\"-${version}\""
+    system -W ${worksrcpath} "runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc} --program-suffix=\"-${version}\""
 }
 
 build {
-    system "cd ${worksrcpath} && runhaskell Setup build -v"
+    system -W ${worksrcpath} "runhaskell Setup build -v"
 }
 
 destroot {
-    system "cd ${worksrcpath} && runhaskell Setup copy -v --destdir=${destroot}"
+    system -W ${worksrcpath} "runhaskell Setup copy -v --destdir=${destroot}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120824/0d278fbb/attachment.html>


More information about the macports-changes mailing list