fix CP on test script

This commit is contained in:
Alexey Kuznetsov 2012-01-18 21:04:17 +04:00
parent a11b75fcdf
commit 3b39594518
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#! /bin/sh
#!/bin/bash
JAVA=java
JAVAC=javac
CP=$(for i in *.jar; do echo -n $i:; done).
$JAVAC -cp miniupnpc_Linux.jar JavaBridgeTest.java
$JAVA -cp miniupnpc_Linux.jar:. JavaBridgeTest 12345 UDP
$JAVAC -cp $CP JavaBridgeTest.java || exit 1
$JAVA -cp $CP JavaBridgeTest 12345 UDP || exit 1