diff --git a/Rakefile b/Rakefile index 1d3d32a..1d9894f 100644 --- a/Rakefile +++ b/Rakefile @@ -182,7 +182,7 @@ def install_fonts puts "Installing patched fonts for Powerline/Lightline." puts "======================================================" run %{ cp -f $HOME/.yadr/fonts/* $HOME/Library/Fonts } if RUBY_PLATFORM.downcase.include?("darwin") - run %{ mkdir -p ~/.fonts && cp ~/.yadr/fonts/* "$_" && fc-cache -vf ~/.fonts } if RUBY_PLATFORM.downcase.include?("linux") + run %{ mkdir -p ~/.fonts && cp ~/.yadr/fonts/* ~/.fonts && fc-cache -vf ~/.fonts } if RUBY_PLATFORM.downcase.include?("linux") puts end