Dr. Werner Fink 2024-03-22 13:33:37 +00:00 committed by Git OBS Bridge
parent 7355a2c9ba
commit 2b8a4ef48a
3 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 22 13:31:54 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Add patch boo1221414-scp.patch
* Do not replace the asignment of the array COMPREPLY with
the shell function _comp_compgen_split (boo#1221414)
-------------------------------------------------------------------
Fri Feb 23 09:56:03 UTC 2024 - Dr. Werner Fink <werner@suse.de>

View File

@ -68,6 +68,8 @@ Patch11: bash-completion-2.7-unRAR-remove.patch
Patch13: boo1190929-9af4afd0.patch
# PATCH-FIX-SUSE boo#1199724
Patch14: bsc1199724-modules.patch
# PATCH-FIX-SUSE boo#1221414 -- shells/bash-completion: Bug
Patch15: boo1221414-scp.patch
BuildRequires: libtool
BuildRequires: pkgconfig
BuildArch: noarch

17
boo1221414-scp.patch Normal file
View File

@ -0,0 +1,17 @@
Do not replace COMPREPLY with _comp_compgen_split()
---
completions/ssh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- completions/ssh
+++ completions/ssh 2024-03-22 13:27:49.715476006 +0000
@@ -499,7 +499,7 @@ _comp_xfunc_scp_compgen_remote_files()
command sed -e 's/'"$_comp_cmd_scp__path_esc"'/\\\\\\&/g' -e 's/[*@|=]$//g' \
-e 's/[^\/]$/& /g')
fi
- _comp_compgen_split -l -- "$_files"
+ COMPREPLY+=( $_files )
}
# @deprecated 2.12 use `_comp_compgen -ax ssh remote_files` instead