src/Pure/Thy/present.scala
changeset 67187 3457d7d43ee9
parent 67180 dcac4659d482
child 67201 4cffa4791ef7
equal deleted inserted replaced
67186:a58bbe66ac81 67187:3457d7d43ee9
   207 
   207 
   208     /* result */
   208     /* result */
   209 
   209 
   210     if (!result.ok) {
   210     if (!result.ok) {
   211       cat_error(cat_lines(Latex.latex_errors(dir, root_name)),
   211       cat_error(cat_lines(Latex.latex_errors(dir, root_name)),
   212         "Failed to build document in directory " + File.path(dir.absolute_file))
   212         "Failed to build document in " + File.path(dir.absolute_file))
   213     }
   213     }
   214 
   214 
   215     bash("[ -f " + root_bash(document_format) + " ] && cp -f " +
   215     bash("[ -f " + root_bash(document_format) + " ] && cp -f " +
   216       root_bash(document_format) + " " + File.bash_path(document_target)).check
   216       root_bash(document_format) + " " + File.bash_path(document_target)).check
   217   }
   217   }