commit:     e2c757593c98a4821443911147c4e18da9b55809
Author:     Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Fri Jun 27 05:34:13 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 02:30:20 2025 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e2c75759

save-ebuild-env.sh: drop bash 3.x support

Bash 4.0 was released in February 2009. Portage, itself, cannot function
correctly without at least 4.4, which was released in September 2016.
The sys-apps/portage ebuild expresses a runtime dependency for at least
5.0, which was released in January 2019. As such, no concessions need be
made for versions bearing a major number of 3.

Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/save-ebuild-env.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/bin/save-ebuild-env.sh b/bin/save-ebuild-env.sh
index 418006da20..05557356e9 100644
--- a/bin/save-ebuild-env.sh
+++ b/bin/save-ebuild-env.sh
@@ -130,7 +130,4 @@ __save_ebuild_env() (
 
        declare -p
        declare -fp
-       if [[ ${BASH_VERSINFO[0]} == 3 ]]; then
-               export
-       fi
 )

Reply via email to