lib/jitai.rb in jitai-0.2.24 vs lib/jitai.rb in jitai-0.2.25
- old
+ new
@@ -21,9 +21,11 @@
file = "./#{@cwd}#{font_file}"
# TODO edit ttf2eot so that it's actually installed in the system
if !File.exists?(other_file)
puts "===== #{conversion_type.upcase} format not found. Attempting to convert... ====="
+
+ # TODO fix broken conversion. thanks a lot ttf2eot for not having a apt-get
%x{cd ttf2eot && ./ttf2eot < #{'../' + @cwd + font_file} > #{'../' + @cwd + font_file.split(".")[0] + conversion_type}}
end
# Rename files, account for conventions.
%x{mv #{other_file} #{other_file.downcase}} if !(File.exists?(other_file.downcase))