remove path separators for java executor
This commit is contained in:
parent
d3361049f3
commit
b2b69db27d
|
@ -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 "\
|
||||||
|
|
Loading…
Reference in New Issue