summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2006-07-15 13:55:06 +0000
committerFabian Groffen <grobian@gentoo.org>2006-07-15 13:55:06 +0000
commit80453aaa939edbdfa2e8bf08a46481f3d5d5d072 (patch)
treee90d38a353ffe55cb196f8d98500fec58ba82cb8 /eclass/java-vm-2.eclass
parentRemove lanius from metadata.xml as he's retired. (diff)
downloadgentoo-2-80453aaa939edbdfa2e8bf08a46481f3d5d5d072.tar.gz
gentoo-2-80453aaa939edbdfa2e8bf08a46481f3d5d5d072.tar.bz2
gentoo-2-80453aaa939edbdfa2e8bf08a46481f3d5d5d072.zip
Bash 2.59 compatibility change. Necessary for Gentoo for Mac OS X.
Permission to commit from nichoj. See bug #139899
Diffstat (limited to 'eclass/java-vm-2.eclass')
-rw-r--r--eclass/java-vm-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass
index 71a14c65ba61..9332f778b4fa 100644
--- a/eclass/java-vm-2.eclass
+++ b/eclass/java-vm-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.4 2006/06/30 15:00:07 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.5 2006/07/15 13:55:06 grobian Exp $
#
# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
@@ -40,7 +40,7 @@ java-vm-2_pkg_postinst() {
einfo "No valid generation-1 system-vm set, setting to ${P}"
java-config-1 --set-system-vm=${P}
# dirty check to see if we are upgrading current generation-1 system vm
- elif [[ ${systemvm1} =~ "^${VMHANDLE}" ]]; then
+ elif [[ x${systemvm1} = x${VMHANDLE} ]]; then
einfo "Upgrading generation-1 system-vm... updating its env file"
java-config-1 --set-system-vm=${P}
fi