src/Pure/System/components.scala
changeset 80050 7d8a24c5559d
parent 80048 a213dd3c0b29
child 80219 840ca997deac
equal deleted inserted replaced
80049:b525f783b784 80050:7d8a24c5559d
   211       this
   211       this
   212     }
   212     }
   213 
   213 
   214     def write_platforms(
   214     def write_platforms(
   215       lines: List[String] = Platform.Family.list.map(family => family.toString + " = ")
   215       lines: List[String] = Platform.Family.list.map(family => family.toString + " = ")
   216     ): Unit = File.write(platform_props, terminate_lines(lines))
   216     ): Directory = {
       
   217       File.write(platform_props, terminate_lines(lines))
       
   218       this
       
   219     }
   217 
   220 
   218     def get_platforms(): Platforms = {
   221     def get_platforms(): Platforms = {
   219       val props_path = platform_props.expand
   222       val props_path = platform_props.expand
   220       val props =
   223       val props =
   221         if (props_path.is_file) {
   224         if (props_path.is_file) {