Revision
139012
Author
mmoll@macports.org
Date
2015-07-28 05:36:01 -0700 (Tue, 28 Jul 2015)

Log Message

ompl: use 'system -W ...' instead of 'system cd ...'

Modified Paths

Diff

Modified: trunk/dports/science/ompl/Portfile (139011 => 139012)


--- trunk/dports/science/ompl/Portfile	2015-07-28 12:16:29 UTC (rev 139011)
+++ trunk/dports/science/ompl/Portfile	2015-07-28 12:36:01 UTC (rev 139012)
@@ -36,7 +36,7 @@
     # enable parallel build on at most 2 cores. Generating the bindings
     # uses large amounts of memory, so don't use more cores.
     if { ${use_parallel_build} } { set cj "-j 2" } else { set cj "" }
-    system "cd ${cmake.build_dir}; ${build.cmd} ${cj} update_bindings"
+    system -W ${cmake.build_dir} "${build.cmd} ${cj} update_bindings"
 }
 configure.args-append   -DOMPL_BUILD_DEMOS=OFF