This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
powerline_fonts
mirror of
https://github.com/powerline/fonts.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
Do not check $#
If no argument is given then `"$1"` is an empty string, so no need to bother.
pull/191/merge
ZyX
7 years ago
parent
3350f67913
commit
91aae1698a
1 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
install.sh
+ 1
- 4
install.sh
View File
@ -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
"
Write
Preview
Loading…
Cancel
Save