summaryrefslogtreecommitdiffstats
path: root/master/debian/bash-completion_identifiers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'master/debian/bash-completion_identifiers.patch')
-rw-r--r--master/debian/bash-completion_identifiers.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/master/debian/bash-completion_identifiers.patch b/master/debian/bash-completion_identifiers.patch
new file mode 100644
index 0000000..814c101
--- /dev/null
+++ b/master/debian/bash-completion_identifiers.patch
@@ -0,0 +1,45 @@
+Description: Fix incorrect identifiers in bash-completion
+Author: Andreas Born <futur.andy@googlemail.com>
+Origin: upstream, http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3426
+Last-Update: 2012-03-05
+
+Index: b/util/bash-completion.d/grub-completion.bash.in
+===================================================================
+--- a/util/bash-completion.d/grub-completion.bash.in
++++ b/util/bash-completion.d/grub-completion.bash.in
+@@ -402,7 +402,7 @@
+ #
+ # grub-mkpasswd-pbkdf2
+ #
+-_grub_mkpasswd-pbkdf2 () {
++_grub_mkpasswd_pbkdf2 () {
+ local cur
+
+ COMPREPLY=()
+@@ -417,7 +417,7 @@
+ }
+ __grub_mkpasswd_pbkdf2_program=$( echo grub-mkpasswd-pbkdf2 | sed "@program_transform_name@" )
+ have ${__grub_mkpasswd_pbkdf2_program} && \
+- complete -F _grub_mkpasswd-pbkdf2 -o filenames ${__grub_mkpasswd_pbkdf2_program}
++ complete -F _grub_mkpasswd_pbkdf2 -o filenames ${__grub_mkpasswd_pbkdf2_program}
+ unset __grub_mkpasswd_pbkdf2_program
+
+
+@@ -462,7 +462,7 @@
+ #
+ # grub-script-check
+ #
+-_grub_script-check () {
++_grub_script_check () {
+ local cur
+
+ COMPREPLY=()
+@@ -477,7 +477,7 @@
+ }
+ __grub_script_check_program=$( echo grub-script-check | sed "@program_transform_name@" )
+ have ${__grub_script_check_program} && \
+- complete -F _grub_script-check -o filenames ${__grub_script_check_program}
++ complete -F _grub_script_check -o filenames ${__grub_script_check_program}
+
+
+ # Local variables: