diff --git a/test_agent/container/java_proxy/grpc_java.jar b/test_agent/container/java_proxy/grpc_java.jar old mode 100644 new mode 100755 index eeaa86a..ab44142 Binary files a/test_agent/container/java_proxy/grpc_java.jar and b/test_agent/container/java_proxy/grpc_java.jar differ diff --git a/test_agent/container/java_proxy/start b/test_agent/container/java_proxy/start index 4045f0b..27e40c5 100755 --- a/test_agent/container/java_proxy/start +++ b/test_agent/container/java_proxy/start @@ -1,2 +1,3 @@ #!/bin/bash -java -jar /home/cm2/container/java_proxy/grpc_java.jar +script_dir=$(cd "$(dirname "$0")" && pwd) +java -jar $script_dir'/grpc_java.jar' $1 diff --git a/test_agent/container/network_proxy/start b/test_agent/container/network_proxy/start index e47e1cf..68ebb7b 100755 --- a/test_agent/container/network_proxy/start +++ b/test_agent/container/network_proxy/start @@ -1,3 +1,4 @@ #!/bin/bash -/home/cm2/container/network_proxy/ncr -Port=$1 +script_dir=$(cd "$(dirname "$0")" && pwd) +$script_dir'/ncr' -Port=$1