diff options
Diffstat (limited to 'test/system/run_java_test')
-rwxr-xr-x | test/system/run_java_test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/run_java_test b/test/system/run_java_test index 205d869f2..24947d523 100755 --- a/test/system/run_java_test +++ b/test/system/run_java_test @@ -9,6 +9,6 @@ # Works only for tests in the default package. # args=("$@") -args[$((${#args}))]="$(echo "${args[${#args}]}" | sed 's,\(.*\/\)\?\(.*\)\.class$,\2,')" +args[$((${#args}))]="$(echo "${args[${#args}]}" | sed 's,\(.*/\)*\(.*\)\.class$,\2,')" echo "${args[@]}" exec "${args[@]}" |