summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-10-12 19:07:04 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-10-12 19:07:04 +0000
commit0f2ac03a5ebb86f90dbd5423527f893f74b21795 (patch)
tree11ae5f4c00ae6934fddec747514e57ddf74a0914 /app-benchmarks
parentQA fixes; unquoted variables (diff)
downloadgentoo-2-0f2ac03a5ebb86f90dbd5423527f893f74b21795.tar.gz
gentoo-2-0f2ac03a5ebb86f90dbd5423527f893f74b21795.tar.bz2
gentoo-2-0f2ac03a5ebb86f90dbd5423527f893f74b21795.zip
QA fixes; unquoted variables
(Portage version: 2.2_rc45/cvs/Linux x86_64)
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/volanomark/ChangeLog7
-rw-r--r--app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild16
2 files changed, 13 insertions, 10 deletions
diff --git a/app-benchmarks/volanomark/ChangeLog b/app-benchmarks/volanomark/ChangeLog
index 5478b7b5dbb6..26266a2e5768 100644
--- a/app-benchmarks/volanomark/ChangeLog
+++ b/app-benchmarks/volanomark/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-benchmarks/volanomark
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/ChangeLog,v 1.8 2007/07/02 13:42:04 peper Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/ChangeLog,v 1.9 2009/10/12 19:07:04 halcy0n Exp $
+
+ 12 Oct 2009; Mark Loeser <halcy0n@gentoo.org> volanomark-2.5.0.9.ebuild:
+ QA fixes; unquoted variables
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
volanomark-2.5.0.9.ebuild:
diff --git a/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild b/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild
index affa2c5c9820..91a3f93c078e 100644
--- a/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild
+++ b/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild,v 1.7 2007/07/02 13:42:04 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/volanomark/volanomark-2.5.0.9.ebuild,v 1.8 2009/10/12 19:07:04 halcy0n Exp $
DESCRIPTION="Java server benchmark utility"
HOMEPAGE="http://www.volano.com/benchmarks.html"
@@ -26,21 +26,21 @@ src_unpack() {
src_install() {
dodir /opt/${PN}
- java -classpath ${DISTDIR} vmark2_5_0_9 -o ${D}/opt/${PN}
- chmod 755 ${D}/opt/${PN}/*.sh
+ java -classpath "${DISTDIR}" vmark2_5_0_9 -o "${D}"/opt/${PN}
+ chmod 755 "${D}"/opt/${PN}/*.sh
sed -i -e "s#^host=.*#cd /opt/${PN}\nhost=`hostname`#" \
-e 's:"$java":java:g' \
-e 's:! -f: -z :' \
-e 's:-Sn:-n:' \
- ${D}/opt/${PN}/startup.sh
+ "${D}"/opt/${PN}/startup.sh
- sed -i -e "s#^./startup.sh#/opt/${PN}/startup.sh#g" ${D}/opt/${PN}/*.sh
+ sed -i -e "s#^./startup.sh#/opt/${PN}/startup.sh#g" "${D}"/opt/${PN}/*.sh
# Set stack-size correctly for different arches
if [ "${ARCH}" == "amd64" ] ; then
- sed -i -e 's:Xss96:Xss512:' ${D}/opt/${PN}/startup.sh
+ sed -i -e 's:Xss96:Xss512:' "${D}"/opt/${PN}/startup.sh
else
- sed -i -e 's:Xss96:Xss128:' ${D}/opt/${PN}/startup.sh
+ sed -i -e 's:Xss96:Xss128:' "${D}"/opt/${PN}/startup.sh
fi
keepdir /opt/${PN}/logs