Don't assume "sed" being GNU sed, use "gsed" whenever available (Debian: #501479, Alioth: #311393)

This commit is contained in:
David Paleino 2009-06-05 08:13:46 +02:00
parent e371d9628e
commit 6170eb0001
2 changed files with 6 additions and 1 deletions

View File

@ -11,6 +11,8 @@ bash-completion (1.x)
* Fix typo in .ass subtitles completion for mplayer (Debian: #531337)
* Fix regression on man(1) completion: also complete on local .3pm files
(Debian: #531343)
* Don't assume "sed" being GNU sed, use "gsed" whenever available
(Debian: #501479, Alioth: #311393)
[ Ville Skyttä ]
* Split yum and yum-arch completion into contrib/yum.

View File

@ -195,7 +195,7 @@ have()
# use GNU sed if we have it, since its extensions are still used in our code
#
[ $USERLAND != GNU ] && have gsed && alias sed=gsed
have gsed && alias sed=gsed
# This function checks whether a given readline variable
# is `on'.
@ -3673,3 +3673,6 @@ unset UNAME USERLAND default dirnames filenames have nospace bashdefault plusdir
set $BASH_COMPLETION_ORIGINAL_V_VALUE
unset BASH_COMPLETION_ORIGINAL_V_VALUE
# remove aliases we set earlier
unalias sed