diff --git a/lib/compass/sprite_importer.rb b/lib/compass/sprite_importer.rb index 6b8f2d94..e2a775d2 100644 --- a/lib/compass/sprite_importer.rb +++ b/lib/compass/sprite_importer.rb @@ -7,7 +7,7 @@ module Compass # finds all sprite files def self.find_all_sprite_map_files(path) hex = "[0-9a-f]" - glob = "*-{,s}#{hex*10}{#{VALID_EXTENSIONS.join(",")}}" + glob = "*-s#{hex*10}{#{VALID_EXTENSIONS.join(",")}}" Dir.glob(File.join(path, "**", glob)) end