Fix: Stats again...
This commit is contained in:
parent
80cbff4db2
commit
92e0deecde
|
@ -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
|
# Check | Make in Loop from header datas $1: process $2:marker $3:file
|
||||||
#======================================================================
|
#======================================================================
|
||||||
gsl__do_header() {
|
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"
|
while read -r "gsl_header_content_line"
|
||||||
do
|
do
|
||||||
gsl__get_header_fields "$2"
|
gsl__get_header_fields "$2"
|
||||||
|
|
|
@ -12,6 +12,16 @@
|
||||||
gsl__all_checkers() {
|
gsl__all_checkers() {
|
||||||
unset gsl_check_done
|
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_db_tmp=`mktemp`
|
||||||
|
|
||||||
gsl__check_h1 || return
|
gsl__check_h1 || return
|
||||||
|
|
Loading…
Reference in New Issue