diff options
| author | Jack Nagel | 2013-04-06 13:22:26 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-06 13:22:26 -0500 |
| commit | 306a95a3cdcd32332a134957d067789aeff10494 (patch) | |
| tree | c6c05b0bff1d46e3becd452d1ede47fbcfc3ab15 /Library/Formula | |
| parent | 0520c36eedd90b8b3eed07f2bb21af1031c671b9 (diff) | |
| download | homebrew-306a95a3cdcd32332a134957d067789aeff10494.tar.bz2 | |
rrdtool: fix pathname comparisons
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rrdtool.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/rrdtool.rb b/Library/Formula/rrdtool.rb index 90bc0c067..de410b35e 100644 --- a/Library/Formula/rrdtool.rb +++ b/Library/Formula/rrdtool.rb @@ -24,7 +24,7 @@ class Rrdtool < Formula which_perl = which 'perl' which_ruby = which 'ruby' - opoo "Using system Ruby. RRD module will be installed to /Library/Ruby/..." if which_ruby.realpath.to_s == RUBY_PATH + opoo "Using system Ruby. RRD module will be installed to /Library/Ruby/..." if which_ruby.realpath == RUBY_PATH opoo "Using system Perl. RRD module will be installed to /Library/Perl/..." if which_perl.to_s == "/usr/bin/perl" args = %W[ @@ -32,7 +32,7 @@ class Rrdtool < Formula --prefix=#{prefix} ] args << "--enable-perl-site-install" if which_perl.to_s == "/usr/bin/perl" - args << "--enable-ruby-site-install" if which_ruby.realpath.to_s == RUBY_PATH + args << "--enable-ruby-site-install" if which_ruby.realpath == RUBY_PATH system "./configure", *args |
