[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 58ae4585a7456923a1d14d6833e24a3c803f7257
Ville Skyttä
ville.skytta at iki.fi
Mon Apr 13 16:55:56 UTC 2009
The following commit has been merged in the master branch:
commit 58ae4585a7456923a1d14d6833e24a3c803f7257
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Mon Apr 13 19:55:52 2009 +0300
Remove unused variable RELEASE.
diff --git a/CHANGES b/CHANGES
index 7e6d053..77ece54 100644
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,7 @@ bash-completion (1.x)
* Split mplayer and friends completions to contrib/mplayer.
* Parse top level mplayer and friends option completions from -list-options.
* Fix dir-only completion for make to include only dirs, not files.
+ * Remove unused variable RELEASE.
[ Todd Zullinger ]
* Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/bash_completion b/bash_completion
index 6567889..8050eb1 100644
--- a/bash_completion
+++ b/bash_completion
@@ -52,7 +52,6 @@ readonly BASH_COMPLETION BASH_COMPLETION_DIR BASH_COMPLETION_COMPAT_DIR
UNAME=$( uname -s )
# strip OS type and version under Cygwin (e.g. CYGWIN_NT-5.1 => Cygwin)
UNAME=${UNAME/CYGWIN_*/Cygwin}
-RELEASE=$( uname -r )
# features supported by bash 2.05 and higher
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
unset -f have
-unset UNAME RELEASE default dirnames filenames have nospace bashdefault \
- plusdirs
+unset UNAME default dirnames filenames have nospace bashdefault plusdirs
set $BASH_COMPLETION_ORIGINAL_V_VALUE
unset BASH_COMPLETION_ORIGINAL_V_VALUE
--
bash-completion
More information about the Bash-completion-commits
mailing list