diff --git a/qsgen2 b/qsgen2 index eaaf3f6..c882ea2 100755 --- a/qsgen2 +++ b/qsgen2 @@ -554,8 +554,8 @@ function _blog_idx_for_index() { URL:*) url=${component#URL: } ;; - local -a adate=( ${sdate} ) - bdate="${adate[1]} - ${adate[4]}/${adate[3]}/${adate[2]}" + local adate=( ${sdate} ) + local bdate="${adate[1]} - ${adate[4]}/${adate[3]}/${adate[2]}" local blog_list_content=$(echo "${blog_list}" | perl -pe "s|BLOGURL|${url}|g") blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|BLOGTITLE|${btitle}|g") blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|INGRESS|${ingress}|g")