]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- fix for "sed: -e expression #1, char 20: unterminated `s' command" error auto/ac/bash-completion-20050721-2
authorAdam Gołębiowski <adamg@pld-linux.org>
Tue, 3 Jan 2006 18:47:43 +0000 (18:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  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

bash-completion-known_hosts.patch [new file with mode: 0644]
bash-completion.spec

diff --git a/bash-completion-known_hosts.patch b/bash-completion-known_hosts.patch
new file mode 100644 (file)
index 0000000..1df3ae3
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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
index b616416f42783aab2a6a85040e7bcd2386143015..d2478af184b76c0ff2ea10102a6642861a4b2758 100644 (file)
@@ -2,7 +2,7 @@ Summary:        bash-completion offers programmable completion for bash
 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
@@ -10,6 +10,7 @@ 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
@@ -42,6 +43,7 @@ dope
 %setup -q -n bash_completion
 %patch0 -p1
 %patch1 -p2
+%patch2 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.093846 seconds and 4 git commands to generate.