Skip to content

Commit 03bc74b

Browse files
committed
debian: Only include JAR files into the classpath
1 parent 19c6d80 commit 03bc74b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packaging/debian/init/cloud-agent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ for jdir in $JDK_DIRS; do
5555
done
5656
export JAVA_HOME
5757

58-
ACP=`ls /usr/share/cloudstack-agent/lib/* | tr '\n' ':' | sed s'/.$//'`
58+
ACP=`ls /usr/share/cloudstack-agent/lib/*.jar | tr '\n' ':' | sed s'/.$//'`
5959

6060
# We need to append the JSVC daemon JAR to the classpath
6161
# AgentShell implements the JSVC daemon methods

0 commit comments

Comments
 (0)