Permalink
Browse files

Go recursive in search of .spec files.

  • Loading branch information...
1 parent 6d425c0 commit e5c27aae9cde20913b7fc0c44f4de543c63b707b @bobmcwhirter bobmcwhirter committed Oct 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/cantiere/cantiere.rb
View
@@ -43,11 +43,11 @@ def initialize( config, project_config = Hash.new )
RPMUtils.new( @config )
GPGSign.new( @config )
- [ "specs/*.spec" ].each do |spec_file_dir|
+ [ "specs/**/*.spec" ].each do |spec_file_dir|
Dir[ spec_file_dir ].each do |spec_file|
RPM.new( @config, spec_file )
end
end
end
end
-end
+end

0 comments on commit e5c27aa

Please sign in to comment.