Pārlūkot izejas kodu

Merge pull request #89 from sbusch/master

Allow spaces in powerline fonts source dir
pull/90/head
Kim Silkebækken pirms 9 gadiem
vecāks
revīzija
af69d5307b
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      install.sh

+ 2
- 2
install.sh Parādīt failu

@ -3,7 +3,7 @@
# Set source and target directories
powerline_fonts_dir=$( cd "$( dirname "$0" )" && pwd )
find_command="find $powerline_fonts_dir \( -name '*.[o,t]tf' -or -name '*.pcf.gz' \) -type f -print0"
find_command="find \"$powerline_fonts_dir\" \( -name '*.[o,t]tf' -or -name '*.pcf.gz' \) -type f -print0"
if [[ `uname` == 'Darwin' ]]; then
# MacOS
@ -15,7 +15,7 @@ else
fi
# Copy all fonts to user fonts directory
eval $find_command | xargs -0 -I % cp % $font_dir/
eval $find_command | xargs -0 -I % cp "%" "$font_dir/"
# Reset font cache on Linux
if [[ -n `which fc-cache` ]]; then

Notiek ielāde…
Atcelt
Saglabāt