From 954e12596d1edf7552f1f787b45b8658ef23cd8c Mon Sep 17 00:00:00 2001 From: Wai Yee Wong Date: Thu, 8 Jul 2021 15:26:48 -0400 Subject: [PATCH] Add a few spaces on two comments --- xCAT-server/share/xcat/tools/go-xcat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/tools/go-xcat b/xCAT-server/share/xcat/tools/go-xcat index 843e98108..295a0add2 100755 --- a/xCAT-server/share/xcat/tools/go-xcat +++ b/xCAT-server/share/xcat/tools/go-xcat @@ -688,7 +688,7 @@ function check_repo_version_dnf() # cut, sed and rev are used to get the version only. cat /tmp/$1-2 | cut -d ":" -f2 | rev | sed s/[.]/:/ | cut -d ":" -f2 | rev else - # If the output has the word "Installing", remove the epoch number as needed. + # If the output has the word "Installing", remove the epoch number as needed. grep $1 /tmp/$1-1 | grep -v installed | awk '{print $3}' | cut -d ":" -f2 fi @@ -810,7 +810,7 @@ function check_repo_version_yum() # cut, sed and rev are used to get the version only. cat /tmp/$1-2 | cut -d ":" -f2 | rev | sed s/[.]/:/ | cut -d ":" -f2 | rev else - # If the output has the word "Installing", remove the epoch number as needed. + # If the output has the word "Installing", remove the epoch number as needed. grep $1 /tmp/$1-1 | grep -v installed | awk '{print $3}' | cut -d ":" -f2 fi