src/Pure/Tools/dotnet_setup.scala
changeset 77369 df17355f1e2c
parent 77218 86217697863c
child 77510 f5d6cd98b16a
equal deleted inserted replaced
77368:7c57d9586f4c 77369:df17355f1e2c
   126           progress.echo("Platform " + platform.name + " ...")
   126           progress.echo("Platform " + platform.name + " ...")
   127           platform.check()
   127           platform.check()
   128           if (platform_dir.is_dir && force) Isabelle_System.rm_tree(platform_dir)
   128           if (platform_dir.is_dir && force) Isabelle_System.rm_tree(platform_dir)
   129           val script =
   129           val script =
   130             platform.exec + " " + File.bash_platform_path(install) +
   130             platform.exec + " " + File.bash_platform_path(install) +
   131               (if (version.nonEmpty) " -Version " + Bash.string(version) else "") +
   131               if_proper(version, " -Version " + Bash.string(version)) +
   132               " -Architecture " + Bash.string(platform.arch) +
   132               " -Architecture " + Bash.string(platform.arch) +
   133               (if (platform.os.nonEmpty) " -OS " + Bash.string(platform.os) else "") +
   133               if_proper(platform.os, " -OS " + Bash.string(platform.os)) +
   134               " -InstallDir " + Bash.string(platform.name) +
   134               " -InstallDir " + Bash.string(platform.name) +
   135               (if (dry_run) " -DryRun" else "") +
   135               (if (dry_run) " -DryRun" else "") +
   136               " -NoPath"
   136               " -NoPath"
   137           progress.bash(script, echo = verbose,
   137           progress.bash(script, echo = verbose,
   138             cwd = if (dry_run) null else component_dir.path.file).check
   138             cwd = if (dry_run) null else component_dir.path.file).check