remove path separators for java executor

This commit is contained in:
Brian Seymour 2021-01-15 11:29:57 -06:00
parent d3361049f3
commit b2b69db27d
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cd /tmp/$2 cd /tmp/$2
cp code.code interim.java 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 mv interim.java $name.java
runuser runner$1 -c "\ runuser runner$1 -c "\