summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-08-03 19:07:21 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-08-03 19:07:21 +0000
commit222ef97989311fdc4250c7342acd323cd42bf7be (patch)
tree00b83ac2d5e70c6dadcd6e5a2c0d3fcca2a34228 /eclass/java-pkg.eclass
parentStable on alpha. (diff)
downloadhistorical-222ef97989311fdc4250c7342acd323cd42bf7be.tar.gz
historical-222ef97989311fdc4250c7342acd323cd42bf7be.tar.bz2
historical-222ef97989311fdc4250c7342acd323cd42bf7be.zip
dosrc: only accept java files
Diffstat (limited to 'eclass/java-pkg.eclass')
-rw-r--r--eclass/java-pkg.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-pkg.eclass b/eclass/java-pkg.eclass
index 971bfbf075cb..069a835d5a5a 100644
--- a/eclass/java-pkg.eclass
+++ b/eclass/java-pkg.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.27 2005/07/20 11:05:55 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-pkg.eclass,v 1.28 2005/08/03 19:07:21 axxo Exp $
pkglistpath="${T}/java-pkg-list"
@@ -352,7 +352,7 @@ java-pkg_dosrc() {
local startdir=$(pwd)
for x in ${@}; do
cd $(dirname ${x})
- zip -q -r ${T}/${PN}-src.zip $(basename ${x}) || die "zip failed"
+ zip -q -r ${T}/${PN}-src.zip $(basename ${x}) -i '*.java' || die "zip failed"
cd ${startdir}
done