From b2b69db27dbf60efaa69d947b710ea9caad92207 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Fri, 15 Jan 2021 11:29:57 -0600 Subject: [PATCH] remove path separators for java executor --- lxc/executors/java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/executors/java b/lxc/executors/java index 0318a9f..6fc09e0 100755 --- a/lxc/executors/java +++ b/lxc/executors/java @@ -1,6 +1,6 @@ cd /tmp/$2 cp code.code interim.java -name=$(grep -Po "(?<=\n|\A)\s*(public\s+)?(class|interface)\s+\K([^\n\s{]+)" interim.java) +name=$(grep -Po "(?<=\n|\A)\s*(public\s+)?(class|interface)\s+\K([^\/\\\n\s{]+)" interim.java) mv interim.java $name.java runuser runner$1 -c "\