Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Hobson 036b90d9ef
Merge pull request #325 from Brikaa/vlang
pkg(vlang-0.1.13): Fix command line arguments bug
2021-09-15 23:07:18 +12:00
Brikaa 5e1a51c813 pkg(vlang-0.1.13): Fix command line arguments bug 2021-09-15 11:33:02 +02:00
1 changed files with 4 additions and 3 deletions

View File

@ -6,8 +6,9 @@ export TMPDIR="$PWD"
# Put instructions to run the runtime
rename 's/$/\.v/' "$@" # Add .v extension
filename=$1
rename 's/$/\.v/' $filename # Add .v extension
filename=$1.v
shift
v run $filename "$@"
v run $filename.v "$@"