Permalink
Browse files

fixed months associations for awstats index

  • Loading branch information...
serghey-rodin committed Jan 26, 2014
1 parent 2981759 commit f182841fdae9239802485e471eb7f37cfb1ef82c
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/v-update-web-domain-stat
@@ -110,7 +110,7 @@ build_awstats() {
grep -v icon | sort -r )
for link in $months; do
year=$(echo $link |cut -f 1 -d \-)
- month=$(echo $link |cut -f 2 -d \-)
+ month=$(echo $link |cut -f 2 -d \-| sed -e "s/^0//")
case "$month" in
1) month='January';;
2) month='February';;

0 comments on commit f182841

Please sign in to comment.