src/Pure/Admin/component_jedit.scala
changeset 83080 096f5e72794b
parent 82657 249701eeea76
equal deleted inserted replaced
83079:bb2a19ed5305 83080:096f5e72794b
   173       for {
   173       for {
   174         file <- File.find_files(Path.explode("~~/src/Tools/jEdit/patches").file).sortBy(_.getName)
   174         file <- File.find_files(Path.explode("~~/src/Tools/jEdit/patches").file).sortBy(_.getName)
   175         name = file.getName
   175         name = file.getName
   176         if !File.is_backup(name)
   176         if !File.is_backup(name)
   177       } {
   177       } {
   178         progress.bash("patch -p2 < " + File.bash_path(File.path(file)),
   178         val patch = File.read(File.path(file))
   179           cwd = source_dir, echo = progress.verbose).check
   179         Isabelle_System.apply_patch(source_dir, patch, strip = 2, progress = progress)
   180       }
   180       }
   181 
   181 
   182       progress.echo("Augmenting icons ...")
   182       progress.echo("Augmenting icons ...")
   183 
   183 
   184       val jedit_icons_path = source_dir + Path.explode("org/gjt/sp/jedit/icons/themes")
   184       val jedit_icons_path = source_dir + Path.explode("org/gjt/sp/jedit/icons/themes")