mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 05:56:26 +02:00
pkg(go-1.16.2): quick fix for filename issue
This commit is contained in:
parent
5f267a98b4
commit
bb3e6b5b7f
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