Fix incorrect identifiers in bash-completion.

* util/bash-completion.d/grub-completion.bash.in
	(_grub_mkpasswd-pbkdf2): Rename to ...
	(_grub_mkpasswd_pbkdf2): ... this. All users updated.
	(_grub_script-check): Rename to ...
	(_grub_script_check): ... this. All users updated.
This commit is contained in:
Andreas Born 2011-09-28 14:19:21 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 6991503094
commit 2ded951ef7
2 changed files with 14 additions and 4 deletions

View file

@ -1,3 +1,13 @@
2011-09-28 Andreas Born <futur.andy@googlemail.com>
Fix incorrect identifiers in bash-completion.
* util/bash-completion.d/grub-completion.bash.in
(_grub_mkpasswd-pbkdf2): Rename to ...
(_grub_mkpasswd_pbkdf2): ... this. All users updated.
(_grub_script-check): Rename to ...
(_grub_script_check): ... this. All users updated.
2011-09-28 Vladimir Serbinenko <phcoder@gmail.com> 2011-09-28 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy):

View file

@ -402,7 +402,7 @@ unset __grub_mkimage_program
# #
# grub-mkpasswd-pbkdf2 # grub-mkpasswd-pbkdf2
# #
_grub_mkpasswd-pbkdf2 () { _grub_mkpasswd_pbkdf2 () {
local cur local cur
COMPREPLY=() COMPREPLY=()
@ -417,7 +417,7 @@ _grub_mkpasswd-pbkdf2 () {
} }
__grub_mkpasswd_pbkdf2_program=$( echo grub-mkpasswd-pbkdf2 | sed "@program_transform_name@" ) __grub_mkpasswd_pbkdf2_program=$( echo grub-mkpasswd-pbkdf2 | sed "@program_transform_name@" )
have ${__grub_mkpasswd_pbkdf2_program} && \ 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 unset __grub_mkpasswd_pbkdf2_program
@ -462,7 +462,7 @@ unset __grub_probe_program
# #
# grub-script-check # grub-script-check
# #
_grub_script-check () { _grub_script_check () {
local cur local cur
COMPREPLY=() COMPREPLY=()
@ -477,7 +477,7 @@ _grub_script-check () {
} }
__grub_script_check_program=$( echo grub-script-check | sed "@program_transform_name@" ) __grub_script_check_program=$( echo grub-script-check | sed "@program_transform_name@" )
have ${__grub_script_check_program} && \ 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: # Local variables: