xplanetfx: remove newline in perl version check.
This commit is contained in:
parent
19b7242605
commit
3c75392833
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue