diff options
Diffstat (limited to 'lib/rake/clean.rb')
-rw-r--r-- | lib/rake/clean.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/clean.rb b/lib/rake/clean.rb index 5c9cbcdb24..32846d4a6d 100644 --- a/lib/rake/clean.rb +++ b/lib/rake/clean.rb @@ -16,7 +16,7 @@ require 'rake' # :stopdoc: CLEAN = Rake::FileList["**/*~", "**/*.bak", "**/core"] CLEAN.clear_exclude.exclude { |fn| - fn.pathmap("%f") == 'core' && File.directory?(fn) + fn.pathmap("%f").downcase == 'core' && File.directory?(fn) } desc "Remove any temporary products." |