commit: 014605d4aeb99e143852cddd57420f8e70a11316 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Oct 24 13:46:13 2025 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Oct 24 13:46:13 2025 +0000 URL: https://gitweb.gentoo.org/proj/eselect.git/commit/?id=014605d4
Drop bash version test * bin/eselect.in (ESELECT_STDERR): Drop bash version test. Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ChangeLog | 2 ++ bin/eselect.in | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c40f4bd..ba85cc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2025-10-24 Ulrich Müller <[email protected]> + * bin/eselect.in (ESELECT_STDERR): Drop bash version test. + * modules/news.eselect (do_list): Call printf instead of space. * libs/output.bash.in (space): Don't loop. diff --git a/bin/eselect.in b/bin/eselect.in index fe2a780..74d4cea 100755 --- a/bin/eselect.in +++ b/bin/eselect.in @@ -73,10 +73,7 @@ unset i path IFS=$' \t\n' # Save stderr file descriptor -if (( BASH_VERSINFO[0] == 4 && BASH_VERSINFO[1] >= 1 || BASH_VERSINFO[0] > 4 )) -then - exec {ESELECT_STDERR}>&2 # >=bash-4.1 -fi +exec {ESELECT_STDERR}>&2 # Load core functions source "${ESELECT_CORE_PATH}/core.bash" || exit 255
