diff options
author | Gunnar Wrobel <wrobel@gentoo.org> | 2004-11-23 09:20:04 +0000 |
---|---|---|
committer | Gunnar Wrobel <wrobel@gentoo.org> | 2004-11-23 09:20:04 +0000 |
commit | 4f4d187fb40a13e8650f89a75c14b503899f8fe8 (patch) | |
tree | c77a8f2a3fb75aad55e5d772c5ae9f7d32ce6f88 /net-news | |
parent | Fixed config file (diff) | |
download | overlay-4f4d187fb40a13e8650f89a75c14b503899f8fe8.tar.gz overlay-4f4d187fb40a13e8650f89a75c14b503899f8fe8.tar.bz2 overlay-4f4d187fb40a13e8650f89a75c14b503899f8fe8.zip |
Fixed binary
svn path=/; revision=68
Diffstat (limited to 'net-news')
-rwxr-xr-x | net-news/nntprss/files/nntprss | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/net-news/nntprss/files/nntprss b/net-news/nntprss/files/nntprss index eb838ea..0faf97d 100755 --- a/net-news/nntprss/files/nntprss +++ b/net-news/nntprss/files/nntprss @@ -1,20 +1,33 @@ #!/bin/bash -NNTPRSS="/usr/share/nntprss/lib/nntprss.jar" ETC="/etc/nntprss/" XML="/usr/share/nntprss/" -LOG4="/usr/share/log4j/lib/log4j.jar" -DBCP="/usr/share/commons-dbcp/lib/commons-dbcp.jar" -POOL="/usr/share/commons-pool/lib/commons-pool.jar" -LOGG="/usr/share/commons-logging/lib/commons-logging.jar" -HTTP="/usr/share/commons-httpclient/lib/commons-httpclient.jar" -COLL="/usr/share/commons-collections/lib/commons-collections.jar" -JDBC="/usr/share/jdbc-mysql/lib/mysql-connector-java-3.0.15-ga-bin.jar" -HSQL="/usr/share/hsqldb/lib/hsqljdbc.jar" -JETY="/opt/jetty/lib/org.mortbay.jetty.jar" -J2EE="/opt/sun-j2ee-1.3.1/lib/j2ee.jar" -JDBM="/opt/nntprss/lib/jdbm-0.20.jar" -CLASSES="$NNTPRSS:$ETC:$XML:$LOG4:$DBCP:$POOL:$COLL:$JDBC:$HSQL:$HTTP:$LOGG:$JETY:$J2EE:$JDBM" +CLASSES="$ETC:$XML" + +LIBS=" +/usr/share/nntprss +/usr/share/log4j +/usr/share/commons-dbcp +/usr/share/commons-pool +/usr/share/commons-logging +/usr/share/commons-httpclient +/usr/share/commons-collections +/usr/share/jdbc-mysql +/usr/share/hsqldb +/opt/jetty +/opt/sun-j2ee-1.3.1 +/opt/nntprss +" + +for lib in ${LIBS} + do + + for jar in ${lib}/lib/*.jar + do + CLASSES="${CLASSES}:${jar}" + done + +done java -cp "$CLASSES" org.methodize.nntprss.Main |