summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpmi.bash-completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 7978bc33..fb5dd51a 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -1,11 +1,11 @@
# bash completion for urpmi and friends
-# Copyright (c) 2002-2003 Guillaume Rousse <guillomovitch@linux-mandrake.com>
+# Copyright (c) 2002-2004 Guillaume Rousse <guillomovitch@linux-mandrake.com>
# $Id$
# utility functions
_urpmi_get_medias()
{
- medias=( $( sed -ne 's/^\(.\+\) \+[^ ]\+ \+{/\1/p' /etc/urpmi/urpmi.cfg 2>/dev/null ) )
+ medias=( $( sed -ne 's/^\(.\+\) \+[^ ]\+ \+{/\1/p' /etc/urpmi/urpmi.cfg 2>/dev/null | sed -e 's/(/\\(/g' -e 's/)/\\)/g' -e 's/ /\\ /g' ) )
}
_urpmi_medias()