Permalink
Browse files

Fix the rpm_verbosity target so it is possible to set the verbosity to 0

  • Loading branch information...
1 parent 3b6e799 commit dd104606dbb900d606747b43beb6c923aa4db63f @erikogan erikogan committed Dec 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 build/rpm.rb
View
@@ -92,7 +92,7 @@ def fetch(dir)
@build_verbosity = %w{-v}
else
@verbosity = ENV['verbosity'].to_i
- @build_verbosity = %w{-v} * (@verbosity == 0 ? 1 : @verbosity)
+ @build_verbosity = %w{-v} * (ENV['verbosity'].nil? ? 1 : @verbosity)
end
end
end

0 comments on commit dd10460

Please sign in to comment.