@@ -16,7 +16,7 @@ import scala.jdk.CollectionConverters.*
16
16
/**
17
17
* Common Code for supporting scripting tests.
18
18
* To override the path to the bash executable, set TEST_BASH=<path-to-bash.exe>
19
- * To specify where `dist[*]/target/pack /bin` resides, set TEST_CWD=<working-directory>
19
+ * To specify where `dist[*]/target/universal/stage /bin` resides, set TEST_CWD=<working-directory>
20
20
* Test scripts run in a bash env, so paths are converted to forward slash via .norm.
21
21
*/
22
22
object ScriptTestEnv {
@@ -48,7 +48,7 @@ object ScriptTestEnv {
48
48
}
49
49
50
50
lazy val nativePackDir : Option [String ] = {
51
- def nativeDir (os : String , arch : String ) = Some (s " dist/ $os- $arch/target/pack " )
51
+ def nativeDir (os : String , arch : String ) = Some (s " dist/ $os- $arch/target/universal/stage " )
52
52
def nativeOs (os : String ) = archNorm match
53
53
case arch @ (" aarch64" | " x86_64" ) => nativeDir(os, arch)
54
54
case _ => None
@@ -61,7 +61,7 @@ object ScriptTestEnv {
61
61
62
62
def jvmPackDir () =
63
63
println(" warning: unknown OS architecture combination, defaulting to JVM launcher." )
64
- " dist/target/pack "
64
+ " dist/target/universal/stage "
65
65
66
66
def packDir : String = nativePackDir.getOrElse(jvmPackDir())
67
67
@@ -302,7 +302,7 @@ object ScriptTestEnv {
302
302
// use optional TEST_BASH if defined, otherwise, bash must be in PATH
303
303
304
304
// envScalaHome is:
305
- // dist[*]/target/pack , if present
305
+ // dist[*]/target/universal/stage , if present
306
306
// else, SCALA_HOME if defined
307
307
// else, not defined
308
308
lazy val envScalaHome =
0 commit comments