summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/btanks/btanks-0.8.7686.ebuild')
-rw-r--r--games-action/btanks/btanks-0.8.7686.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-action/btanks/btanks-0.8.7686.ebuild b/games-action/btanks/btanks-0.8.7686.ebuild
index e814ba35f55e..32517fc5f5a2 100644
--- a/games-action/btanks/btanks-0.8.7686.ebuild
+++ b/games-action/btanks/btanks-0.8.7686.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.8 2009/05/23 22:09:59 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.9 2009/05/30 06:39:49 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -32,7 +32,7 @@ src_prepare() {
}
src_compile() {
- local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/")
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[0-9]\+\).*/\1/; p }")
scons \
${sconsopts} \