Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

Commit

Permalink
fix broken grep to match compatible major/minor version upgrade
Browse files Browse the repository at this point in the history
[#146902091]
  • Loading branch information
xchapter7x committed Jun 28, 2017
1 parent 2d396a6 commit 7b80098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/allow_only_patch_upgrades.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function allow_only_patch_upgrades {
--skip-ssl-validation \
deployed-products | grep "${PRODUCT_NAME}" | awk -F"|" '{print $3 }' | awk -F"." '{print $1"."$2}'
)
if [[ `ls ${PRODUCT_DIR} | grep "${deployed_version}"` ]]; then
if [[ `ls ${PRODUCT_DIR} | grep ${deployed_version}` ]]; then
echo "we have a safe upgrade for version: ${deployed_version}";

else
Expand Down

0 comments on commit 7b80098

Please sign in to comment.