From 6439ab1ccaa121eac1e33d146f1df8312685f1df Mon Sep 17 00:00:00 2001 From: Shaun Jackman Date: Tue, 14 Oct 2014 10:44:59 -0700 Subject: open-mpi: fix the bin/vtsetup script Move vtsetup.jar from bin to libexec. Patch the script bin/vtsetup Closes #33177. Signed-off-by: Mike McQuaid --- Library/Formula/open-mpi.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/open-mpi.rb b/Library/Formula/open-mpi.rb index 53bf34fec..a59d9c228 100644 --- a/Library/Formula/open-mpi.rb +++ b/Library/Formula/open-mpi.rb @@ -42,8 +42,8 @@ class OpenMpi < Formula # (Fortran header) in `lib` that need to be moved to `include`. include.install Dir["#{lib}/*.mod"] - # Not sure why the wrapped script has a jar extension - adamv + # Move vtsetup.jar from bin to libexec. libexec.install bin/'vtsetup.jar' - bin.write_jar_script libexec/'vtsetup.jar', 'vtsetup.jar' + inreplace bin/'vtsetup', '$bindir/vtsetup.jar', '$prefix/libexec/vtsetup.jar' end end -- cgit v1.2.3