*** empty log message ***
[booh] / bin / booh-backend
index db2d72fc9e1a8ab813927226b09c96cd4282dca6..07b1dbd67ea5e9f07f7462cb32383b0c71d91ce7 100755 (executable)
@@ -727,7 +727,7 @@ def walk_source_dir
                     }
                     to_del = Dir.entries(dest_dir).find_all { |e| !File.directory?("#{dest_dir}/#{e}") && !rightful_images.include?(e) } - themestuff
                     if to_del.size > 0
-                        system("rm -f " + to_del.collect { |e| "#{dest_dir}/#{e}" }.join(' '))
+                        system("rm -f " + to_del.collect { |e| "'#{dest_dir}/#{e}'" }.join(' '))
                     end
                 end