From 4187f889700abf570302f0f96360c0e37cfe8368 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Fri, 19 Aug 2011 19:55:55 -0400 Subject: [PATCH] fixed a bug that was causeing compass to remove non sprite images --- lib/compass/sprite_importer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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