]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Abort if we can't find the tooltip file.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Jun 2010 18:05:54 +0000 (18:05 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 21 Jun 2010 18:05:54 +0000 (18:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@21257 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/doxygen/tutorial/steps.pl

index f1d3c32d4cf24d44f1d54c9eef93a271098a3728..b34e0d0362c0d5e232fd7ccc979c9dc585951e5e 100644 (file)
@@ -92,7 +92,8 @@ EOT
 foreach (@steps)
 {
     # read first line of tooltip file
-    open TF, "../../../examples/step-$_/doc/tooltip";
+    open TF, "../../../examples/step-$_/doc/tooltip"
+       or die "Can't open tooltip file step-$_/doc/tooltip";
     my $tooltip = <TF>;
     close TF;
     chop $tooltip;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.