mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-04 19:06:27 +02:00
pkg(scala-3.0.0): Quick fix for filename issue (#228)
This commit is contained in:
parent
ccc1e4c08b
commit
5f267a98b4
1 changed files with 4 additions and 1 deletions
5
packages/scala/3.0.0/run
vendored
5
packages/scala/3.0.0/run
vendored
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Put instructions to run the runtime
|
# Put instructions to run the runtime
|
||||||
scala "$@"
|
mv $1 $1.scala
|
||||||
|
filename=$1.scala
|
||||||
|
shift
|
||||||
|
scala $filename "$@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue