[Yum-devel] [PATCH] yum.bash: Don't search for packages like '-*'. BZ 819229.
Zdeněk Pavlas
zpavlas at redhat.com
Wed May 9 07:59:51 UTC 2012
---
etc/yum.bash | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/etc/yum.bash b/etc/yum.bash
index 16b011a..b21c594 100644
--- a/etc/yum.bash
+++ b/etc/yum.bash
@@ -9,8 +9,8 @@ _yum_helper()
_yum_list()
{
- # Fail fast for things that look like paths.
- [[ $2 == */* || $2 == [.~]* ]] && return
+ # Fail fast for things that look like paths or options.
+ [[ $2 == */* || $2 == [.~-]* ]] && return
_yum_helper list "$@"
}
--
1.7.4.4
More information about the Yum-devel
mailing list