diff --git a/idealingua-v1/idealingua-v1-transpilers/.jvm/src/test/scala/izumi/idealingua/IDLTestTools.scala b/idealingua-v1/idealingua-v1-transpilers/.jvm/src/test/scala/izumi/idealingua/IDLTestTools.scala index ff8f77c..fdc0d13 100644 --- a/idealingua-v1/idealingua-v1-transpilers/.jvm/src/test/scala/izumi/idealingua/IDLTestTools.scala +++ b/idealingua-v1/idealingua-v1-transpilers/.jvm/src/test/scala/izumi/idealingua/IDLTestTools.scala @@ -374,7 +374,7 @@ object IDLTestTools { "#!/usr/bin/env bash", "set -xe", s"cd ${workDir.toAbsolutePath}", - ) ++ env.map(kv => s"export ${kv._1}=${kv._2}") ++ Seq("env") ++ Seq(cmd.map(s => s"\"$s\"").mkString("", " \\\n ", "\n")) + ) ++ env.map(kv => s"export ${kv._1}=${kv._2}") ++ Seq("env") ++ Seq(cmd.map(s => "\"" + s + "\"").mkString("", " \\\n ", "\n")) val cmdSh = commands.mkString("\n")