[83620] trunk/dports/science/openmpi/Portfile
mww at macports.org
mww at macports.org
Wed Sep 7 15:14:01 PDT 2011
Revision: 83620
http://trac.macports.org/changeset/83620
Author: mww at macports.org
Date: 2011-09-07 15:13:56 -0700 (Wed, 07 Sep 2011)
Log Message:
-----------
use 'system -W' instead
Modified Paths:
--------------
trunk/dports/science/openmpi/Portfile
Modified: trunk/dports/science/openmpi/Portfile
===================================================================
--- trunk/dports/science/openmpi/Portfile 2011-09-07 21:39:23 UTC (rev 83619)
+++ trunk/dports/science/openmpi/Portfile 2011-09-07 22:13:56 UTC (rev 83620)
@@ -48,14 +48,14 @@
set wrappers {mpicc mpicxx mpic++}
post-destroot {
foreach bin {mpirun mpiexec} {
- system "cd ${destroot}${prefix}/bin \
- && ln -sf ${prefix}/lib/${name}/bin/orterun open${bin}"
+ system -W ${destroot}${prefix}/bin \
+ "ln -sf ${prefix}/lib/${name}/bin/orterun open${bin}"
}
foreach bin ${wrappers} {
- system "cd ${destroot}${prefix}/bin \
- && ln -sf ${prefix}/lib/${name}/bin/opal_wrapper open${bin}"
- system "cd ${destroot}${prefix}/share/${name} \
- && ln -sf ${prefix}/share/${name}/${bin}-wrapper-data.txt \
+ system -W ${destroot}${prefix}/bin \
+ "ln -sf ${prefix}/lib/${name}/bin/opal_wrapper open${bin}"
+ system -W ${destroot}${prefix}/share/${name} \
+ "ln -sf ${prefix}/share/${name}/${bin}-wrapper-data.txt \
open${bin}-wrapper-data.txt"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110907/b68c7476/attachment.html>
More information about the macports-changes
mailing list