Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5e0f64ea48f3886369f3842c4a98958df8bb6c4b
commit 5e0f64ea48f3886369f3842c4a98958df8bb6c4b
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Sat Apr 12 01:00:18 2008 +0200
java.sh: add _F_javacleanup_opts
diff --git a/source/include/java.sh b/source/include/java.sh
index 584659b..6fc9f3b 100644
--- a/source/include/java.sh
+++ b/source/include/java.sh
@@ -39,6 +39,8 @@
# 'ecj', can be 'gcj', too.
# * _F_java_cflags (defaults to -fPIC -findirect-dispatch -fjni): compiler
flags passed to the bytecompiler (gcj)
# * _F_java_ldflags (defaults to -Wl,-Bsymbolic): linker flags passed to the
bytecompiler (gcj)
+# * _F_javacleanup_opts: you can set this to define some exclude patterns if
+# you really need (for bootstrapping) some binary jars.
###
if [ -z "$_F_java_cflags" ]; then
_F_java_cflags="-fPIC -findirect-dispatch -fjni"
@@ -125,6 +127,6 @@ Fjavacleanup()
{
local root="."
[ -n "$1" ] && root=$1
- find $root -name "*.class" -exec rm -vf {} \;
- find $root -name "*.jar" -exec rm -vf {} \;
+ find $root -name "*.class" $_F_javacleanup_opts -exec rm -vf {} \;
+ find $root -name "*.jar" $_F_javacleanup_opts -exec rm -vf {} \;
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git