src/Pure/Tools/dotnet_setup.scala
changeset 76463 da85bffef443
parent 76462 66a827cf863e
child 76464 18c50ff16bbc
equal deleted inserted replaced
76462:66a827cf863e 76463:da85bffef443
    79     for {
    79     for {
    80       platform <- all_platforms
    80       platform <- all_platforms
    81       if platform.family.toString == platform_spec || platform.name == platform_spec
    81       if platform.family.toString == platform_spec || platform.name == platform_spec
    82     } {
    82     } {
    83       progress.expose_interrupt()
    83       progress.expose_interrupt()
    84       platform.check()
       
    85 
    84 
    86 
    85 
    87       /* component directory */
    86       /* component directory */
    88 
    87 
    89       val component_dir =
    88       val component_dir =
   117         if (platform_dir.is_dir) {
   116         if (platform_dir.is_dir) {
   118           progress.echo_warning("Platform " + platform.name + " already installed")
   117           progress.echo_warning("Platform " + platform.name + " already installed")
   119         }
   118         }
   120         else {
   119         else {
   121           progress.echo("Platform " + platform.name + " ...")
   120           progress.echo("Platform " + platform.name + " ...")
       
   121           platform.check()
   122           val script =
   122           val script =
   123             platform.exec + " " + File.bash_platform_path(install) +
   123             platform.exec + " " + File.bash_platform_path(install) +
   124               (if (version.nonEmpty) " -Version " + Bash.string(version) else "") +
   124               (if (version.nonEmpty) " -Version " + Bash.string(version) else "") +
   125               " -Architecture " + Bash.string(platform.arch) +
   125               " -Architecture " + Bash.string(platform.arch) +
   126               (if (platform.os.nonEmpty) " -OS " + Bash.string(platform.os) else "") +
   126               (if (platform.os.nonEmpty) " -OS " + Bash.string(platform.os) else "") +