]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Tweak checkAuthors.in
authorHarlan Stenn <stenn@ntp.org>
Thu, 7 Nov 2024 06:13:48 +0000 (00:13 -0600)
committerHarlan Stenn <stenn@ntp.org>
Thu, 7 Nov 2024 06:13:48 +0000 (00:13 -0600)
bk: 672c5a9cwRZCeIpok-n40gf7p_Fdlw

scripts/build/checkAuthors.in

index 90f9b76fd2105fb150d79086a85f9c67666a8dfc..00d0929191f2282fc5a76d7e12abce6c8104e40e 100755 (executable)
@@ -63,8 +63,11 @@ my $A_path = shift @ARGV;
 $problem = 0;
 
 if (! -r $A_file) {
-  warn "$A_file is not readable!\n";
-  ++$problem;
+  my @args = ("bk", "get", "-q", $A_file);
+  unless (system(@args) == 0) {
+    warn "system @args failed: $?";
+    ++$problem;
+  }
 }
 
 if (! -d $A_path) {