From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Iwl4h-0001V5-PM for garchives@archives.gentoo.org; Mon, 26 Nov 2007 21:01:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lAQL11mi003662; Mon, 26 Nov 2007 21:01:01 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lAQL11sI003657 for ; Mon, 26 Nov 2007 21:01:01 GMT Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id CA03C652F3 for ; Mon, 26 Nov 2007 21:01:00 +0000 (UTC) Received: from betelgeuse by stork.gentoo.org with local (Exim 4.60) (envelope-from ) id 1Iwl4d-000224-R8 for gentoo-commits@lists.gentoo.org; Mon, 26 Nov 2007 21:00:59 +0000 From: "Petteri Raty (betelgeuse)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, betelgeuse@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: java-utils-2.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: java-utils-2.eclass X-VCS-Directories: eclass X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Raty Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: Sender: Petteri Raty Date: Mon, 26 Nov 2007 21:00:59 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@gentoo.org X-Archives-Salt: 48c8db81-29cc-4c5b-8741-eefb83d4a0f4 X-Archives-Hash: f968b7ec2e5bd730e6a17ac358f34f9e betelgeuse 07/11/26 21:00:59 Modified: java-utils-2.eclass Log: Can't use export with JAVA_OPTIONS so just put back the unset. The warning given to users should be enough even if the unset does not currently work. Revision Changes Path 1.98 eclass/java-utils-2.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?rev=1.98&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?rev=1.98&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/java-utils-2.eclass?r1=1.97&r2=1.98 Index: java-utils-2.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v retrieving revision 1.97 retrieving revision 1.98 diff -u -r1.97 -r1.98 --- java-utils-2.eclass 26 Nov 2007 20:38:26 -0000 1.97 +++ java-utils-2.eclass 26 Nov 2007 21:00:59 -0000 1.98 @@ -6,7 +6,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.97 2007/11/26 20:38:26 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.98 2007/11/26 21:00:59 betelgeuse Exp $ # ----------------------------------------------------------------------------- # @eclass-begin @@ -2067,7 +2067,9 @@ fi if [[ -z ${accept} ]]; then - export _JAVA_OPTIONS= + # export _JAVA_OPTIONS= doesn't work because it will show up in java + # -version output + unset _JAVA_OPTIONS # phase hooks make this run many times without this I_WANT_GLOBAL_JAVA_OPTIONS="true" fi -- gentoo-commits@gentoo.org mailing list