lib/exogenesis/passengers/fonts.rb in exogenesis-0.2.0 vs lib/exogenesis/passengers/fonts.rb in exogenesis-1.0.0
- old
+ new
@@ -32,10 +32,10 @@
def install_font(file)
if File.exist? target_font_path(file)
skip_task "Copying #{File.basename file}", 'Already copied'
else
- execute "Copying #{File.basename file}", "cp #{file} #{target_font_path(file)}"
+ execute "Copying #{File.basename file}", "cp '#{file}' '#{target_font_path(file)}'"
end
end
def target_font_path(file)
File.join(ENV['HOME'], 'Library/Fonts', File.basename(file))