diff --git a/lib/showoff.rb b/lib/showoff.rb index 54098f8a4..f5466ac06 100644 --- a/lib/showoff.rb +++ b/lib/showoff.rb @@ -447,6 +447,7 @@ def self.do_static(what) File.open(css_path) do |file| data = file.read data.scan(/url\((.*)\)/).flatten.each do |path| + next if path.match('^http') logger.debug path dir = File.dirname(path) FileUtils.makedirs(File.join(file_dir, dir))