From 73a117fea674719059bba75fd64c2edc8e1fe107 Mon Sep 17 00:00:00 2001 From: "George.Cao" Date: Fri, 8 Apr 2022 08:07:33 +0000 Subject: [PATCH] =?UTF-8?q?update=20script/tools/check=5Fiso=5Fmount.sh.?= =?UTF-8?q?=20=E8=A7=A3=E5=86=B3=E7=AD=9B=E9=80=89=E6=9C=80=E6=96=B0?= =?UTF-8?q?=E5=8C=85=E6=97=B6=E6=9C=89=E9=9D=9E=E6=A0=87=E5=87=86=E6=98=8E?= =?UTF-8?q?=E7=99=BD=E5=8C=85=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/tools/check_iso_mount.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/tools/check_iso_mount.sh b/script/tools/check_iso_mount.sh index d3ac74f..2b98421 100644 --- a/script/tools/check_iso_mount.sh +++ b/script/tools/check_iso_mount.sh @@ -22,7 +22,7 @@ function get_latest() daily_dir="" while [[ ! ${daily_dir} ]] do - daily_dir=$(get_repose ssh -i ${key_file} -p ${port} root@${ip} ls -lr ${release_path} | grep openeuler- | grep -v ${version} | grep -v test | grep -v total | grep -v established | head -n 1 | awk '{print $9}' | tr -d '\r') + daily_dir=$(get_repose ssh -i ${key_file} -p ${port} root@${ip} ls -lr ${release_path} | grep openeuler- | grep -v ${version} | grep -v test | grep -v total | grep -v established | awk '{print $9}' | grep ^openeuler- | head -n 1 | tr -d '\r') done echo ${daily_dir} } -- Gitee