debian: Only include JAR files into the classpath

This commit is contained in:
Wido den Hollander 2013-03-06 18:56:11 +01:00
parent 19c6d8054b
commit 03bc74bd50

View File

@ -55,7 +55,7 @@ for jdir in $JDK_DIRS; do
done
export JAVA_HOME
ACP=`ls /usr/share/cloudstack-agent/lib/* | tr '\n' ':' | sed s'/.$//'`
ACP=`ls /usr/share/cloudstack-agent/lib/*.jar | tr '\n' ':' | sed s'/.$//'`
# We need to append the JSVC daemon JAR to the classpath
# AgentShell implements the JSVC daemon methods