aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorblogabe2014-10-25 12:45:16 -0700
committerMike McQuaid2014-10-26 11:38:52 +0000
commitf743f5324e4b657e33f764b624ea12372b3a44da (patch)
tree84d6efedc50c8197900f9b6dbe70344b0c740364 /Library/Formula
parent1a603ef07003f092c45cdc9191aabd495a95f824 (diff)
downloadhomebrew-f743f5324e4b657e33f764b624ea12372b3a44da.tar.bz2
xplanetfx: remove newline in perl version check.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xplanetfx.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/xplanetfx.rb b/Library/Formula/xplanetfx.rb
index 89c532dbd..616d0e89e 100644
--- a/Library/Formula/xplanetfx.rb
+++ b/Library/Formula/xplanetfx.rb
@@ -39,7 +39,7 @@ class Xplanetfx < Formula
path = "#{Formula["coreutils"].opt_prefix}/libexec/gnubin"
path += ":#{Formula["gnu-sed"].opt_prefix}/libexec/gnubin" if build.with?("gnu-sed")
if build.with?("perlmagick")
- perl_version = `/usr/bin/perl -e 'printf "%vd\n", $^V;'`
+ perl_version = `/usr/bin/perl -e 'printf "%vd", $^V;'`
ENV.prepend_create_path "PERL5LIB", "#{HOMEBREW_PREFIX}/lib/perl5/site_perl/#{perl_version}"
end
if build.with?("gui")