summaryrefslogtreecommitdiffstats
path: root/urpmi.bash-completion
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2005-04-18 19:28:28 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2005-04-18 19:28:28 +0000
commit70e466449df7fb85b4b22f7464ebd90b17e32fa5 (patch)
tree47338f040a7dcb5f39cd80399e48e4ac01ed4939 /urpmi.bash-completion
parent1e13d091b1fbf019950493b6077aeba2e300ad80 (diff)
downloadurpmi-70e466449df7fb85b4b22f7464ebd90b17e32fa5.tar
urpmi-70e466449df7fb85b4b22f7464ebd90b17e32fa5.tar.gz
urpmi-70e466449df7fb85b4b22f7464ebd90b17e32fa5.tar.bz2
urpmi-70e466449df7fb85b4b22f7464ebd90b17e32fa5.tar.xz
urpmi-70e466449df7fb85b4b22f7464ebd90b17e32fa5.zip
fix handling of medias with space in their name
Diffstat (limited to 'urpmi.bash-completion')
-rw-r--r--urpmi.bash-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.bash-completion b/urpmi.bash-completion
index 6f9fa906..b38e7fd0 100644
--- a/urpmi.bash-completion
+++ b/urpmi.bash-completion
@@ -47,7 +47,7 @@ _urpmi_packages()
# get matching packages
for media in ${medias[@]}; do
- COMPREPLY=( ${COMPREPLY[@]:-} $( grep "^$cur" /var/lib/urpmi/names.${media//\\\\/} 2>/dev/null ) )
+ COMPREPLY=( ${COMPREPLY[@]:-} $( grep "^$cur" /var/lib/urpmi/names.${media//\\/} 2>/dev/null ) )
done
}