diff supress and appname
This commit is contained in:
parent
1d4be7191c
commit
738a773975
@ -55,9 +55,10 @@ old_full_ver=$(echo "${array[$it]}" | awk -F ',' '{print $4}') #Upgraded From
|
|||||||
new_full_ver=$(echo "${array[$it]}" | awk -F ',' '{print $5}') #Upraded To
|
new_full_ver=$(echo "${array[$it]}" | awk -F ',' '{print $5}') #Upraded To
|
||||||
rollback_version=$(echo "${array[$it]}" | awk -F ',' '{print $4}' | awk -F '_' '{print $2}')
|
rollback_version=$(echo "${array[$it]}" | awk -F ',' '{print $4}' | awk -F '_' '{print $2}')
|
||||||
if grep -qs "^$app_name," failed.txt ; then
|
if grep -qs "^$app_name," failed.txt ; then
|
||||||
if diff <(grep "^$app_name," | awk -F ',' '{print $2}') <(echo "$new_full_ver") ; then
|
if diff <(grep "^$app_name," | awk -F ',' '{print $2}') <(echo "$new_full_ver") &> /dev/null ; then
|
||||||
sed -i /"$app_name","$new_full_ver"/d failed.txt
|
sed -i /"$app_name","$new_full_ver"/d failed.txt
|
||||||
else
|
else
|
||||||
|
echo "$app_name"
|
||||||
echo "Skipping already failed version $new_full_ver"
|
echo "Skipping already failed version $new_full_ver"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user