From ec65af4ea9a40eb7eb3287ff20e4dd807abc99df Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 1 Mar 2013 05:18:30 +0000 Subject: [PATCH] update validation script git-svn-id: https://svn.dealii.org/trunk@28674 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/scripts/validate-xrefs.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deal.II/common/scripts/validate-xrefs.pl b/deal.II/common/scripts/validate-xrefs.pl index 2913819be6..f7408e2a26 100644 --- a/deal.II/common/scripts/validate-xrefs.pl +++ b/deal.II/common/scripts/validate-xrefs.pl @@ -126,6 +126,12 @@ foreach $filename (@ARGV) # check whether the file for the image is present $link = $1; + # ignore online links + if ($link =~ /^http/) + { + next; + } + die "---Local image `$link' not found in file `$filename'\n This line is: $this_line.\n" unless ((-r $link) && (-f $link)); } -- 2.39.5