Skip to content
Permalink
Browse files

mercury: remove use of cd

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40561 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Oct 6, 2008
1 parent db55d94 commit 281ceb5fbb39885a26c87120677d8faa9a4ca625
Showing with 4 additions and 4 deletions.
  1. +4 −4 lang/mercury/Portfile
@@ -52,11 +52,11 @@ configure.args --mandir=${prefix}/share/man \
# 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"
}

0 comments on commit 281ceb5

Please sign in to comment.
You can’t perform that action at this time.