Skip to content

Commit

Permalink
run_to_check_dependencies.rb: return 1 if missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kig committed Feb 16, 2009
1 parent 96b96f1 commit ccc9871
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run_to_check_dependencies.rb
Expand Up @@ -31,3 +31,5 @@ def check(name, args, deb_package, expected = 0)

$missing.each{|name, pkg| out.puts "Missing #{name} to be found in #{pkg}." }
out.puts "All dependencies found." if $missing.empty?

exit($missing.empty?)

0 comments on commit ccc9871

Please sign in to comment.