X-Git-Url: http://git.draconx.ca/gitweb/homepage.git/blobdiff_plain/d07907f27644b18d6d552907d31ae98f8585ef38..8227e0fd016c3e213181eb03d96f2d09370e7d2f:/Rules diff --git a/Rules b/Rules index e00c5f3..6a8b45a 100644 --- a/Rules +++ b/Rules @@ -16,10 +16,12 @@ # along with this program. If not, see . preprocess do + system("git", "submodule", "update", "--init") + # Remove dead annex keys from processing @items.delete_if do |item| - l = File.readlink(item.raw_filename) - true if !File.exists?(item.raw_filename) and l =~ %r{/annex/objects/} + l = File.readlink(item.raw_filename) + true if !File.exists?(item.raw_filename) and l =~ %r{/annex/objects/} rescue Errno::EINVAL end