summaryrefslogtreecommitdiff
path: root/test/system/run_java_test
diff options
context:
space:
mode:
Diffstat (limited to 'test/system/run_java_test')
-rwxr-xr-xtest/system/run_java_test2
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[@]}"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback