aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pmd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/pmd.rb')
-rw-r--r--Library/Formula/pmd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/pmd.rb b/Library/Formula/pmd.rb
index 5a255bef4..042ff4649 100644
--- a/Library/Formula/pmd.rb
+++ b/Library/Formula/pmd.rb
@@ -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