diff --git a/qsgen2 b/qsgen2 index 120c90c..6033d6c 100755 --- a/qsgen2 +++ b/qsgen2 @@ -926,9 +926,9 @@ function _sitemap() { # local -a html_files=("${(@f)$(find "${www_root}" -type f -name "*.html")}") local -a html_files=(${www_root}/**/[a-z]*.html(.)) local -a blog_files=("${(@)html_files[@]}" | grep blog) - local -a page_files=$("${(@)html_files[@]}" | grep -v blog) + local -a page_files=("${(@)html_files[@]}" | grep -v blog) local -a xml_files=(${www_root}/[a-z]*.xml(.)) - xml_files=$( "${(@)xml_files[@]}" | grep -v "sitemap.xml" ) + xml_files=( "${(@)xml_files[@]}" | grep -v "sitemap.xml" ) # Start of the XML file for BLOGS echo '' > ${b_file}