From 214399b6e85b717031fa4f9bb71bd85f54f86a3f Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Mon, 18 Jul 2022 08:15:27 +0800 Subject: [PATCH] Update containers_version.sh --- scripts/containers_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/containers_version.sh b/scripts/containers_version.sh index c874008c..68132fdd 100644 --- a/scripts/containers_version.sh +++ b/scripts/containers_version.sh @@ -25,8 +25,8 @@ for appinfo in $(docker ps --format '{{.Names}}%{{.Image}}'); do fi if [[ $containername == $appname ]];then echo "$containername容器匹配成功app:$appname" - appnames=(${appnames[*]/$appname}) - initdata="$initdata $appname" + appnames=(${appnames[*]/$appname}) + initdata="$initdata $appname" wget -O /tmp/$appname_get_version.sh https://raw.githubusercontent.com/Websoft9/docker-$appname/main/src/get_version.sh bash /tmp/$appname_get_version.sh $containername break