pkg(go-1.16.2): quick fix for filename issue (#229)

This commit is contained in:
Dan Vargas 2021-04-24 22:09:13 -05:00 committed by GitHub
parent e96be60e7a
commit 6d2814880f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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 "$@"