From 62d92669632f139e84a0b3e6097e7f5248b8093c Mon Sep 17 00:00:00 2001 From: monlor Date: Thu, 7 May 2020 11:17:37 +0800 Subject: [PATCH] 2020-05-07 11:17:37 --- tools/gitsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gitsync.sh b/tools/gitsync.sh index ebb2383..88cc8b6 100755 --- a/tools/gitsync.sh +++ b/tools/gitsync.sh @@ -70,7 +70,7 @@ pack() { if [ -f ${pack_dir}/applist.txt ]; then version_old=`cat ${pack_dir}/applist.txt | grep "$line|" | cut -d'|' -f4` version_new=`cat apps/$line/config/$line.uci | grep "version=" | cut -d'=' -f2 | sed -e 's/"//g'` - if [ "$version_new" != "$version_old" ] || [ -z `ls ${pack_dir}/appstore/${line}*` ]; then + if [ "$version_new" != "$version_old" ] || [ -z "$(ls ${pack_dir}/appstore/${line}*)" ]; then echo "打包$line..." else continue