mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-02-06 12:35:00 +02:00
Fix: Drop counting variations stuff [skip ci]
[why] We have no license files in the patched-fonts dir. Sometimes we have no README.md either. [how] Well, fix code for extradeep directory structures. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
8cd3ae0c80
commit
9c8a91342c
@ -316,7 +316,7 @@ function generate_info {
|
||||
# into the destination. This will overwrite all same-names files
|
||||
# so make sure all licenses of one fontface are identical
|
||||
echo "$LINE_PREFIX * Copying license files"
|
||||
copy_license "$(find_font_root $config_dir)" "$patched_font_dir"
|
||||
copy_license "$(find_font_root $current_dir)" "$patched_font_dir"
|
||||
}
|
||||
|
||||
|
||||
|
@ -60,12 +60,11 @@ do
|
||||
continue
|
||||
fi
|
||||
|
||||
dirname=$(dirname "$filename")
|
||||
searchdir=$filename
|
||||
base_directory=$(echo "$filename" | cut -d "/" -f2)
|
||||
searchdir=$base_directory
|
||||
|
||||
# limit looking for the readme files in the parent dir not the child dirs:
|
||||
if [[ $dirname != "." ]];
|
||||
if [ "$dirname" != "." -a -n "$dirname" ];
|
||||
then
|
||||
searchdir=$dirname
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user