docker全新安装的,进入到php容器执行脚本
root@85sste961f:/www/web/fecshop/vendor/fancyecommerce/fecshop/shell# sh sitemapGeneral.sh
begin xml code
add home url to sitemap xml
add category url to sitemap xml
There are 1 page category to process
sitemapGeneral.sh: 11: sitemapGeneral.sh: Syntax error: Bad for loop variable
使用宝塔安装的没有这个问题