xplanetfx: remove newline in perl version check.

This commit is contained in:
blogabe 2014-10-25 12:45:16 -07:00 committed by Mike McQuaid
parent 19b7242605
commit 3c75392833

View file

@ -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")