commit:     5bd9cb384e338cebb87e5e49921e96f70550167a
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 16 13:40:12 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 13:40:12 2023 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=5bd9cb38

gradle.eclass: drop unnecessary export

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/gradle.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/gradle.eclass b/eclass/gradle.eclass
index 4a7cf440..070a3e12 100644
--- a/eclass/gradle.eclass
+++ b/eclass/gradle.eclass
@@ -96,12 +96,12 @@ gradle-set_EGRADLE() {
        [[ -n ${EGRADLE} ]] && return
 
        if [[ -n ${EGRADLE_OVERWRITE} ]]; then
-               export EGRADLE="${EGRADLE_OVERWRITE}"
+               EGRADLE="${EGRADLE_OVERWRITE}"
                return
        fi
 
        if [[ -n ${EGRADLE_BUNDLED_VER} ]]; then
-               export 
EGRADLE="${WORKDIR}/gradle-${EGRADLE_BUNDLED_VER}/bin/gradle"
+               EGRADLE="${WORKDIR}/gradle-${EGRADLE_BUNDLED_VER}/bin/gradle"
                return
        fi
 
@@ -153,7 +153,7 @@ gradle-set_EGRADLE() {
                die "Could not find (suitable) gradle installation in PATH"
        fi
 
-       export EGRADLE="${selected}"
+       EGRADLE="${selected}"
 }
 
 # @FUNCTION: gradle-src_uri

Reply via email to