文件名称:/vendor/fancyecommerce/fecshop/shell/order/productSellerCount.sh
服务器:Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-73-generic x86_64)
第十行: for (( i=1; i<=$pagenum; i++ ))
应为: for (( i=1; i<=pagenum; i++ ))
1.这个写法在centos下面是没有问题的
2.Ubuntu和centos,可能在shell方面有一些小差异。
嗯。可能是shell选择的问题。