Fix: Stats again...

This commit is contained in:
Cyrille L 2022-03-12 16:51:33 +01:00
parent 80cbff4db2
commit 92e0deecde
2 changed files with 10 additions and 11 deletions

View File

@ -21,17 +21,6 @@ gsl_header_tags=`gsl__get_header "$gsl_marker_tags" "$gsl_post"`
# Check | Make in Loop from header datas $1: process $2:marker $3:file
#======================================================================
gsl__do_header() {
# Init Stats
gsl_stat_abbr=0
gsl_stat_abbrs=0
gsl_stat_link=0
gsl_stat_links=0
gsl_stat_file=0
gsl_count_files=0
gsl_stat_image=0
gsl_stat_fcode=0
while read -r "gsl_header_content_line"
do
gsl__get_header_fields "$2"

View File

@ -12,6 +12,16 @@
gsl__all_checkers() {
unset gsl_check_done
# Init Stats
gsl_stat_abbr=0
gsl_stat_abbrs=0
gsl_stat_link=0
gsl_stat_links=0
gsl_stat_file=0
gsl_count_files=0
gsl_stat_image=0
gsl_stat_fcode=0
gsl_db_tmp=`mktemp`
gsl__check_h1 || return