pmd: fix script paths.
The script to launch pmd would look for its libexec path relative to the binary. This works fine if running the binary from the cellar but it won't work if running from $(brew --prefix)/bin. Closes Homebrew/homebrew#27973. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
acff78b70e
commit
c058b90c73
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Pmd < Formula
|
|||
|
||||
# the run script references paths which don't account for the
|
||||
# file structure of this brew.
|
||||
inreplace "#{libexec}/bin/run.sh", "/../lib", "/../libexec/lib"
|
||||
inreplace "#{libexec}/bin/run.sh", "${script_dir}/../lib", "#{libexec}/lib"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
|
|
Loading…
Reference in a new issue