Skip to content

Commit d7bec70

Browse files
docker-exec/dexec#53 main class name extraction fails because of incorrect regex
1 parent 27457b8 commit d7bec70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dexec-runtime.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function dexec_setup() {
2929
}
3030

3131
function dexec_build() {
32-
dexec_build_name=$(echo ${dexec_sources[0]} | sed -E "s/\..*$//")
32+
dexec_build_name=$(echo ${dexec_sources[0]} | sed -E "s/(.*\/)?(.*)\..*$/\2/")
3333
${dexec_compiler} "${dexec_build_args[@]}" "${dexec_sources[@]}"
3434
}
3535

0 commit comments

Comments
 (0)