diff options
| author | Shaun Jackman | 2014-10-14 10:44:59 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-15 12:26:36 +0100 |
| commit | 6439ab1ccaa121eac1e33d146f1df8312685f1df (patch) | |
| tree | 73c1c6ded677196535f6a0a4e8cfb213c6e21a0c /Library/Formula | |
| parent | 1d9db84b604e44c153926e27c4c6dfdc74d480e4 (diff) | |
| download | homebrew-6439ab1ccaa121eac1e33d146f1df8312685f1df.tar.bz2 | |
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/open-mpi.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
