projects
/
ruby-vorbistagger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only pass a single argument to Kernel.exec.
[ruby-vorbistagger.git]
/
rake
/
configuretask.rb
diff --git
a/rake/configuretask.rb
b/rake/configuretask.rb
index 0cad7ca23116b40ad693588557b7ec49399fc861..2078da41a1eada92eb991b0237d91293732750c4 100644
(file)
--- a/
rake/configuretask.rb
+++ b/
rake/configuretask.rb
@@
-205,14
+205,15
@@
module Rake
def initialize(name, opts = {})
super
def initialize(name, opts = {})
super
- @command = "pkg-config
--silence-errors
"
+ @command = "pkg-config"
end
protected
def lookup_flags(f)
f = :modversion if f == :version
end
protected
def lookup_flags(f)
f = :modversion if f == :version
- tmp = `#{@command} --#{f} #{@name}`.strip.tr("\n", "/")
+ tmp = `#{@command} --silence-errors --#{f} #{@name}`.
+ strip.tr("\n", "/")
$?.exitstatus.zero? ? tmp : nil
end
end
$?.exitstatus.zero? ? tmp : nil
end
end