projects
/
ruby-vorbistagger.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca93f0
)
Only pass a single argument to Kernel.exec.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 14 Aug 2006 16:08:37 +0000
(18:08 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Wed, 23 Aug 2006 17:33:45 +0000
(19:33 +0200)
rake/configuretask.rb
patch
|
blob
|
history
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
- @command = "pkg-config
--silence-errors
"
+ @command = "pkg-config"
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