Skip to content

Commit

Permalink
ignore emacs files
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdempsey committed Sep 4, 2008
1 parent 0fdd5ee commit 79f4f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails2merb.thor
Expand Up @@ -2,7 +2,7 @@ require 'find'

# Take a directory, and a list of patterns to match, and a list of
# filenames to avoid
def recursive_search(dir,patterns, excludes=[/\.git/, /\.svn/, /,v$/, /\.cvs$/, /\.tmp$/, /^RCS$/, /^SCCS$/])
def recursive_search(dir,patterns, excludes=[/\.git/, /\.svn/, /,v$/, /\.cvs$/, /\.tmp$/, /^RCS$/, /^SCCS$/, /~$/])
results = Hash.new{|h,k| h[k] = ''}

Find.find(dir) do |path|
Expand Down

0 comments on commit 79f4f5a

Please sign in to comment.