[med-svn] [mauve] 11/11: Leave wrapper script as example in download archive

Andreas Tille tille at debian.org
Wed Apr 22 12:08:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mauve.

commit 0b86d17467c6d2d644cb92a52192b3c52773c719
Author: Andreas Tille <tille at debian.org>
Date:   Wed Apr 22 09:31:51 2015 +0000

    Leave wrapper script as example in download archive
---
 debian/bin/mauve       |  6 ++++--
 debian/get-orig-source | 11 ++++-------
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/debian/bin/mauve b/debian/bin/mauve
index 758a731..7ff0258 100644
--- a/debian/bin/mauve
+++ b/debian/bin/mauve
@@ -1,7 +1,9 @@
 #!/bin/sh
 
-MAXMEM=3072
+JAVA_CMD=java
+JAVA_ARGS="-Xms200M -Xmx500M"
 
 DEBJAR="/usr/share/java"
-java -Xms64m -Xmx${MAXMEM}m  -classpath "${CLASSPATH}:${DEBJAR}/bytecode.jar:${DEBJAR}/commons-cli.jar:${DEBJAR}/jebl.jar" $(DEBJAR)/Mauve.jar $*
+
+$JAVA_CMD $JAVA_ARGS -DmauveDir=${DEBJAR}/ -classpath "${CLASSPATH}:${DEBJAR}/bytecode.jar:${DEBJAR}/commons-cli.jar:${DEBJAR}/jebl.jar" -jar ${DEBJAR}/Mauve.jar $@
 ## :{DEBJAR}/postgresql-jdbc4.jar 
diff --git a/debian/get-orig-source b/debian/get-orig-source
index 3c46cc0..d9e55f5 100755
--- a/debian/get-orig-source
+++ b/debian/get-orig-source
@@ -27,13 +27,10 @@ LC_ALL=C svn export ${SVNURI} ${TARDIR} >/dev/null 2>/dev/null
 
 cd ${TARDIR}
 rm -rf osx win32 win64
-rm -rf linux-x64/* linux-x86/*
-find . -name "*ant*.jar" -delete
-find . -name "*bytecode*.jar" -delete
-find . -name "*commons-cli*.jar" -delete
-find . -name "*dbus*.jar" -delete
-find . -name "*jebl*.jar" -delete
-find . -name "*postgres*.jar" -delete
+rm -rf linux-x64/mauveAligner linux-x86/mauveAligner linux-x64/progressiveMauve linux-x86/progressiveMauve
+for libjava in ant bytecode commons-cli dbus jebl postgres ; do
+   find . -name "*${libjava}*.jar" -delete
+done
 rm -rf build_support/retroweaver
 rm -rf build_support/[b-z]*
 cd ..

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mauve.git



More information about the debian-med-commit mailing list