mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
pkg(go-1.16.2): quick fix for filename issue (#229)
This commit is contained in:
parent
e96be60e7a
commit
6d2814880f
1 changed files with 4 additions and 1 deletions
5
packages/go/1.16.2/run
vendored
5
packages/go/1.16.2/run
vendored
|
@ -1,3 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
GOCACHE=$PWD go run "$@"
|
||||
mv $1 $1.go
|
||||
filename=$1.go
|
||||
shift
|
||||
GOCACHE=$PWD go run $filename "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue