fix CP on test script
This commit is contained in:
parent
a11b75fcdf
commit
3b39594518
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue