From 5f267a98b4a4815d7e0636d4e181aea170f78e07 Mon Sep 17 00:00:00 2001 From: Dan Vargas <10914883+dvargas46@users.noreply.github.com> Date: Sat, 24 Apr 2021 20:45:43 -0500 Subject: [PATCH] pkg(scala-3.0.0): Quick fix for filename issue (#228) --- packages/scala/3.0.0/run | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/scala/3.0.0/run b/packages/scala/3.0.0/run index f8ff8a1..1d92acc 100644 --- a/packages/scala/3.0.0/run +++ b/packages/scala/3.0.0/run @@ -1,4 +1,7 @@ #!/usr/bin/env bash # Put instructions to run the runtime -scala "$@" +mv $1 $1.scala +filename=$1.scala +shift +scala $filename "$@"