summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2004-01-25 03:56:09 +0000
committerAdrian Almenar <strider@gentoo.org>2004-01-25 03:56:09 +0000
commit0ddcf3d4be39016d5643d5c6402aa4a59e2d11bb (patch)
tree93e73fc1f1bc4ee181319e4af0f933e886dd9504 /eclass/java-pkg.eclass
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-0ddcf3d4be39016d5643d5c6402aa4a59e2d11bb.tar.gz
gentoo-2-0ddcf3d4be39016d5643d5c6402aa4a59e2d11bb.tar.bz2
gentoo-2-0ddcf3d4be39016d5643d5c6402aa4a59e2d11bb.zip
Patch from Joerg Schaible <joerg.schaible@gmx.de>, Closes #38958.
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r--eclass/java-pkg.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass
index 4e2275c25166..1ca591fc0e9a 100644
--- a/eclass/java-pkg.eclass
+++ b/eclass/java-pkg.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.5 2004/01/12 09:43:18 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.6 2004/01/25 03:56:09 strider Exp $
inherit base
ECLASS=java-pkg
@@ -146,6 +146,12 @@ java-pkg_dowar()
debug-print "sharepath=${sharepath}"
debug-print "shareroot=${shareroot}"
debug-print "wardest=${wardest}"
+
+ # Patch from Joerg Schaible <joerg.schaible@gmx.de>
+ # Make sure directory is created
+ if [ ! -d "${D}${wardest}" ] ; then
+ install -d "${D}${wardest}"
+ fi
for i in $* ; do
# Check for symlink