mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2024-09-19 09:51:48 +02:00
Fix info and license generation going to incorrect files
This commit is contained in:
parent
2d03a39223
commit
97f28f4a17
1 changed files with 10 additions and 1 deletions
|
@ -186,7 +186,16 @@ function generate_info {
|
|||
echo "$LINE_PREFIX * Adding 'Possible Combinations' section"
|
||||
generate_readme "$patched_font_dir" 1
|
||||
echo "$LINE_PREFIX * Copying license files"
|
||||
copy_license "$config_parent_dir" "$patched_font_dir"
|
||||
|
||||
if [ $is_unpatched_fonts_root == "0" ];
|
||||
then
|
||||
# if we are not at the unpatched fonts root, copy all license from config parent dir
|
||||
copy_license "$config_parent_dir" "$patched_font_dir"
|
||||
else
|
||||
# otherwise we nedd to copy files from the config dir itself
|
||||
copy_license "$config_dir" "$patched_font_dir"
|
||||
fi
|
||||
|
||||
|
||||
last_parent_dir=$config_parent_dir
|
||||
total_variation_count=$((total_variation_count+combination_count))
|
||||
|
|
Loading…
Reference in a new issue