summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-10-09 09:57:25 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-10-09 09:57:25 +0000
commitfc746a8fca599793957afbfc9684bd49f651cb78 (patch)
treeb9f6067e17cc7282eaecd2f18a5097ca98d13693 /eclass/java-virtuals-2.eclass
parentDrop old ebuilds. (diff)
downloadhistorical-fc746a8fca599793957afbfc9684bd49f651cb78.tar.gz
historical-fc746a8fca599793957afbfc9684bd49f651cb78.tar.bz2
historical-fc746a8fca599793957afbfc9684bd49f651cb78.zip
Updating java-virtuals to use code block instead of subshell
Diffstat (limited to 'eclass/java-virtuals-2.eclass')
-rw-r--r--eclass/java-virtuals-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/java-virtuals-2.eclass b/eclass/java-virtuals-2.eclass
index d89b81c37089..ec13f7b7d281 100644
--- a/eclass/java-virtuals-2.eclass
+++ b/eclass/java-virtuals-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-virtuals-2.eclass,v 1.2 2007/10/09 09:45:46 ali_bush Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-virtuals-2.eclass,v 1.3 2007/10/09 09:57:25 ali_bush Exp $
# Original Author: Alistair John Bush <ali_bush@gentoo.org>
# Purpose: To provide a default (and only) src_install function
@@ -24,7 +24,7 @@ java-virtuals-2_do_write() {
java-pkg_init_paths_
dodir "${JAVA_PKG_VIRTUALS_PATH}"
- (
+ {
if [[ -n "${JAVA_VIRTUAL_PROVIDES}" ]]; then
echo "PROVIDERS=\"${JAVA_VIRTUAL_PROVIDES}\""
fi
@@ -36,5 +36,5 @@ java-virtuals-2_do_write() {
if [[ -n "${JAVA_VIRTUAL_VM_CLASSPATH}" ]]; then
echo "VM_CLASSPATH=\"${JAVA_VIRTUAL_VM_CLASSPATH}\""
fi
- ) > "${JAVA_PKG_VIRTUAL_PROVIDER}"
+ } > "${JAVA_PKG_VIRTUAL_PROVIDER}"
}