Skip to content

Commit

Permalink
Merge pull request #294 from justintime/patch-1
Browse files Browse the repository at this point in the history
Forgot to prepend the class to the FNM_DOTMATCH flag
  • Loading branch information
jordansissel committed Nov 27, 2012
2 parents f65b0ac + 9de9a7d commit febecff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/rpm.erb
Expand Up @@ -113,7 +113,7 @@ fi
<% directories.each do |path| -%>
%dir <%= File.join(prefix, path) %>
<%# We need to include hidden directories, but exclude . and .. -%>
<% ::Dir.glob("#{path}/**/*/", FNM_DOTMATCH) do |subdir| -%>
<% ::Dir.glob("#{path}/**/*/", File::FNM_DOTMATCH) do |subdir| -%>
<% next if File.basename(subdir) =~ /^\.+$/ -%>
%dir <%= File.join(prefix, subdir) %>
<% subdirs << subdir -%>
Expand Down

0 comments on commit febecff

Please sign in to comment.