From 9dc398defd90411f7328634877c933e3652dfc5c Mon Sep 17 00:00:00 2001
From: Vitaly Lipatov <lav@etersoft.ru>
Date: Sun, 21 Aug 2016 22:47:29 +0300
Subject: [PATCH] release-upgrade: fix direct apt-repo

---
 bin/epm-release_upgrade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/epm-release_upgrade b/bin/epm-release_upgrade
index ded35f0..49c1888 100644
--- a/bin/epm-release_upgrade
+++ b/bin/epm-release_upgrade
@@ -65,7 +65,7 @@ __replace_alt_version_in_repo()
 	#echo "Upgrading $DISTRNAME from $1 to $2 ..."
 	docmd apt-repo list | sed -e "s|\($1\)|{\1}->{$2}|g" | egrep --color -- "$1"
 	# ask and replace only we will have changes
-	if apt-repo list | egrep -q -- "$1" ; then
+	if a= apt-repo list | egrep -q -- "$1" ; then
 		confirm "Are these correct changes? [y/N]" || fatal "Exiting"
 		__replace_text_in_alt_repo "/^ *#/! s!$1!$2!g"
 	fi
-- 
2.24.1