[yum-commits] Branch 'yum-3_2_X' - etc/yum.bash
Ville Skyttä
scop at osuosl.org
Tue Oct 19 17:06:01 UTC 2010
etc/yum.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 24180ff61c4e3466676b38e4ac181788c8decad3
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue Oct 19 20:04:35 2010 +0300
Avoid errors with empty completion words, BZ 644265.
diff --git a/etc/yum.bash b/etc/yum.bash
index 25d3cc6..303f190 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -91,7 +91,7 @@ _yum()
# Recognize additional commands and aliases
for c in ${cmds[@]} check-rpmdb distribution-synchronization erase \
groupupdate grouperase localinstall localupdate whatprovides ; do
- [ ${COMP_WORDS[i]} = $c ] && cmd=$c && break
+ [[ ${COMP_WORDS[i]} == $c ]] && cmd=$c && break
done
done
More information about the Yum-commits
mailing list