Kaynağa Gözat

Do not check $#

If no argument is given then `"$1"` is an empty string, so no need to bother.
pull/191/merge
ZyX 7 yıl önce
ebeveyn
işleme
91aae1698a
1 değiştirilmiş dosya ile 1 ekleme ve 4 silme
  1. +1
    -4
      install.sh

+ 1
- 4
install.sh Dosyayı Görüntüle

@ -4,10 +4,7 @@
powerline_fonts_dir=$( cd "$( dirname "$0" )" && pwd )
# if an argument is given it is used to select wich fonts to install
prefix=''
if [ $# = 1 ]; then
prefix=$1
fi
prefix="$1"
find_command="find \"$powerline_fonts_dir\" \( -name '$prefix*.[o,t]tf' -or -name '$prefix*.pcf.gz' \) -type f -print0"

Yükleniyor…
İptal
Kaydet