summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/maven-bin/maven-bin-2.0.11.ebuild')
-rw-r--r--dev-java/maven-bin/maven-bin-2.0.11.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-java/maven-bin/maven-bin-2.0.11.ebuild b/dev-java/maven-bin/maven-bin-2.0.11.ebuild
index 45736157f2a1..72596935801e 100644
--- a/dev-java/maven-bin/maven-bin-2.0.11.ebuild
+++ b/dev-java/maven-bin/maven-bin-2.0.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.11.ebuild,v 1.3 2010/06/25 11:25:47 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/maven-bin/maven-bin-2.0.11.ebuild,v 1.4 2010/10/29 18:47:08 caster Exp $
EAPI="2"
@@ -41,4 +41,8 @@ src_install() {
dodir /usr/bin
dosym "${MAVEN_SHARE}/bin/mvn" /usr/bin/mvn-${SLOT}
+
+ # bug #342901
+ echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die
+ doenvd "${T}/25${MAVEN}"
}