/[gentoo-x86]/eclass/java-vm-2.eclass
Gentoo

Diff of /eclass/java-vm-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.9 2006/09/01 03:00:47 nichoj Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.10 2006/09/02 01:42:57 nichoj Exp $
4 4
5# ----------------------------------------------------------------------------- 5# -----------------------------------------------------------------------------
6# @eclass-begin 6# @eclass-begin
7# @eclass-shortdesc Java Virtual Machine eclass 7# @eclass-shortdesc Java Virtual Machine eclass
8# @eclass-maintainer java@gentoo.org 8# @eclass-maintainer java@gentoo.org
158 local java_home=$(source ${env_file}; echo ${JAVA_HOME}) 158 local java_home=$(source ${env_file}; echo ${JAVA_HOME})
159 [[ -z ${java_home} ]] && die "No JAVA_HOME defined in ${env_file}" 159 [[ -z ${java_home} ]] && die "No JAVA_HOME defined in ${env_file}"
160 160
161 # Make the symlink 161 # Make the symlink
162 dosym ${java_home} ${JAVA_VM_DIR}/${VMHANDLE} \ 162 dosym ${java_home} ${JAVA_VM_DIR}/${VMHANDLE} \
163 || die "Failed to make VM symlink at ${JAVA_VM_DIR}/${VMHANDE}" 163 || die "Failed to make VM symlink at ${JAVA_VM_DIR}/${VMHANDLE}"
164} 164}
165 165
166 166
167java_get_plugin_dir_() { 167java_get_plugin_dir_() {
168 echo /usr/$(get_libdir)/nsbrowser/plugins 168 echo /usr/$(get_libdir)/nsbrowser/plugins

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20