Permalink
Browse files

A file task must never depend on a symbol task

  • Loading branch information...
1 parent c09c017 commit 64651ae8dde9003bd7b1bb5dd5219bd087f92029 @jhs jhs committed Nov 7, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 tasks/lib.rb
View
@@ -65,8 +65,8 @@ def package_dep opts
program_file, package = opts.to_a.first
Rake.application.in_explicit_namespace(':') do
- file program_file => :known_distro do
- case DISTRO[0]
+ file program_file do
+ case distro[0]
when :ubuntu, :debian
installed = `dpkg --list`.split("\n").map { |x| x.split[1] } # Hm, this is out of scope if defined outside.
if installed.none? { |pkg| pkg == package }

0 comments on commit 64651ae

Please sign in to comment.