docker 安装方式,生成sitemap脚本报错

bug问题 · wizren · 于 3年前 发布 · 1124 次阅读

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

使用宝塔安装的没有这个问题

共收到 1 条回复 问题提问
Fecmall#13年前 0 个赞

自己去debug一下,找找原因。

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics