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
commit1ed6a0010140ac2cfdf5e1897575808a4f8d6d72 (patch)
tree208a0d5d1b279394cb9a43d617192c6d9dd9dec3
parentDrop old ebuilds. (diff)
downloadgentoo-2-1ed6a0010140ac2cfdf5e1897575808a4f8d6d72.tar.gz
gentoo-2-1ed6a0010140ac2cfdf5e1897575808a4f8d6d72.tar.bz2
gentoo-2-1ed6a0010140ac2cfdf5e1897575808a4f8d6d72.zip
Updating java-virtuals to use code block instead of subshell
-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}"
}