]> git.lyx.org Git - lyx.git/commitdiff
Amend 341410a5: Change log-output to better parse urls
authorKornel Benko <kornel@lyx.org>
Tue, 8 Oct 2024 09:36:25 +0000 (11:36 +0200)
committerKornel Benko <kornel@lyx.org>
Tue, 8 Oct 2024 09:38:35 +0000 (11:38 +0200)
development/checkurls/search_url.pl

index 5bd4c35215b5b7fe9e6ffdb493327c465352e5b2..8bf9789c78507842b520d5bfad892975358a4d4d 100755 (executable)
@@ -228,6 +228,10 @@ for (my $i = 0; $i < $NR_JOBS; $i++) {    # Number of subprocesses
         if ($res || $checkSelectedOnly) {
           printx("$err_txt \"$u\"\n", $outSum, $fe, $fs);
         }
+        else {
+          printx("OK url: \"$u\"\n", $outSum, $fe, $fs);
+          $printSourceFiles = 1;
+        }
         if ($printSourceFiles) {
           if (defined($URLS{$u})) {
             for my $f (sort keys %{$URLS{$u}}) {
@@ -245,7 +249,7 @@ for (my $i = 0; $i < $NR_JOBS; $i++) {    # Number of subprocesses
   $wait[$i] = $pid;
 }
 
-for (my $i = 0; $i < 10; $i++) {
+for (my $i = 0; $i < $NR_JOBS; $i++) {
   my $p = $wait[$i];
   if ($p > 0) {
     waitpid($p, 0);