Remove unused variable RELEASE.
This commit is contained in:
parent
a9994ac15f
commit
58ae4585a7
1
CHANGES
1
CHANGES
@ -16,6 +16,7 @@ bash-completion (1.x)
|
|||||||
* Split mplayer and friends completions to contrib/mplayer.
|
* Split mplayer and friends completions to contrib/mplayer.
|
||||||
* Parse top level mplayer and friends option completions from -list-options.
|
* Parse top level mplayer and friends option completions from -list-options.
|
||||||
* Fix dir-only completion for make to include only dirs, not files.
|
* Fix dir-only completion for make to include only dirs, not files.
|
||||||
|
* Remove unused variable RELEASE.
|
||||||
|
|
||||||
[ Todd Zullinger ]
|
[ Todd Zullinger ]
|
||||||
* Make yum complete on filenames after install, deplist, update and upgrade
|
* Make yum complete on filenames after install, deplist, update and upgrade
|
||||||
|
@ -52,7 +52,6 @@ readonly BASH_COMPLETION BASH_COMPLETION_DIR BASH_COMPLETION_COMPAT_DIR
|
|||||||
UNAME=$( uname -s )
|
UNAME=$( uname -s )
|
||||||
# strip OS type and version under Cygwin (e.g. CYGWIN_NT-5.1 => Cygwin)
|
# strip OS type and version under Cygwin (e.g. CYGWIN_NT-5.1 => Cygwin)
|
||||||
UNAME=${UNAME/CYGWIN_*/Cygwin}
|
UNAME=${UNAME/CYGWIN_*/Cygwin}
|
||||||
RELEASE=$( uname -r )
|
|
||||||
|
|
||||||
# features supported by bash 2.05 and higher
|
# features supported by bash 2.05 and higher
|
||||||
if [ ${BASH_VERSINFO[0]} -eq 2 ] && [[ ${BASH_VERSINFO[1]} > 04 ]] ||
|
if [ ${BASH_VERSINFO[0]} -eq 2 ] && [[ ${BASH_VERSINFO[1]} > 04 ]] ||
|
||||||
@ -8857,8 +8856,7 @@ unset i
|
|||||||
[ $BASH_COMPLETION != ~/.bash_completion -a -r ~/.bash_completion ] \
|
[ $BASH_COMPLETION != ~/.bash_completion -a -r ~/.bash_completion ] \
|
||||||
&& . ~/.bash_completion
|
&& . ~/.bash_completion
|
||||||
unset -f have
|
unset -f have
|
||||||
unset UNAME RELEASE default dirnames filenames have nospace bashdefault \
|
unset UNAME default dirnames filenames have nospace bashdefault plusdirs
|
||||||
plusdirs
|
|
||||||
|
|
||||||
set $BASH_COMPLETION_ORIGINAL_V_VALUE
|
set $BASH_COMPLETION_ORIGINAL_V_VALUE
|
||||||
unset BASH_COMPLETION_ORIGINAL_V_VALUE
|
unset BASH_COMPLETION_ORIGINAL_V_VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user