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
commit850b50a2c684413626bbe0ee8805e8689758b8ab (patch)
tree005ed013a9348dc1d2fbd27414e6e4f14a9a2c8b /eclass/java-pkg.eclass
parentversion bump (diff)
downloadhistorical-850b50a2c684413626bbe0ee8805e8689758b8ab.tar.gz
historical-850b50a2c684413626bbe0ee8805e8689758b8ab.tar.bz2
historical-850b50a2c684413626bbe0ee8805e8689758b8ab.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