occuring when trying to complete host while using ssh or scp
- patch by Maciej Mitura (emkwadrat (at) poczta.onet.pl)
- release 2
Changed files:
bash-completion-known_hosts.patch -> 1.1
bash-completion.spec -> 1.123
--- /dev/null
+--- bash_completion/bash_completion 2006-01-03 19:06:36.000000000 +0100
++++ bash_completion/bash_completion-mitek 2006-01-03 19:09:29.000000000 +0100
+@@ -2479,7 +2479,7 @@
+ fi
+ # append any available aliases from config files
+ if [ ${#config[@]} -gt 0 ] && [ -n "$aliases" ]; then
+- hosts=$( compgen -W "$( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" ${config[@]} )" -- $ocur )
++ hosts=$( compgen -W $( sed -ne "s/^[Hh][Oo][Ss][Tt]["$'\t '"]*\([^*?]*\)$/\1/p" ${config[@]} ) -- $ocur )
+ COMPREPLY=( ${COMPREPLY[@]} $hosts )
+ fi
+
Summary(pl): Programowalne uzupe³nianie nazw dla basha
Name: bash-completion
Version: 20050721
-Release: 1
+Release: 2
License: GPL
Group: Applications/Shells
Source0: http://www.caliban.org/files/bash/%{name}-%{version}.tar.bz2
Source1: %{name}.cron
Patch0: %{name}-FHS.patch
Patch1: %{name}-ifcfg.patch
+Patch2: %{name}-known_hosts.patch
URL: http://www.caliban.org/bash/
Requires(triggerpostun): sed >= 4.0
BuildArch: noarch
%setup -q -n bash_completion
%patch0 -p1
%patch1 -p2
+%patch2 -p1
%install
rm -rf $RPM_BUILD_ROOT