diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2005-04-18 19:28:28 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2005-04-18 19:28:28 +0000 |
commit | 70e466449df7fb85b4b22f7464ebd90b17e32fa5 (patch) | |
tree | 47338f040a7dcb5f39cd80399e48e4ac01ed4939 | |
parent | 1e13d091b1fbf019950493b6077aeba2e300ad80 (diff) | |
download | urpmi-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
-rw-r--r-- | urpmi.bash-completion | 2 |
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 } |