Commit 5f0ff779 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-removerepo: fix ash error with ((

parent 71470596
......@@ -27,7 +27,7 @@ __epm_removerepo_alt_grepremove()
if [ "$1" = "all" ] || rhas "$1" "^rpm" ; then
rl="$1"
else
rl="$((quiet=1 epm repolist) 2>/dev/null | grep -E "$1")"
rl="$( (quiet=1 epm repolist) 2>/dev/null | grep -E "$1")"
[ -z "$rl" ] && warning "Can't find '$1' in the repos (see '# epm repolist' output)" && return 1
fi
echo "$rl" | while read rp ; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment