constrain go, add user home dir

This commit is contained in:
Brian Seymour 2018-09-21 09:58:01 -05:00
parent c75b073b74
commit af5a4f7cee
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
#!/bin/sh
go run $1
file=$1
go build $file
file=${file%%.*}
timeout -s HUP 2 ./$file