From: Harlan Stenn Date: Thu, 7 Nov 2024 06:46:17 +0000 (-0600) Subject: checkAuthors.in tweaks X-Git-Tag: NTP_4_3_106~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bb47dbda6eb3877ad9dbd7d7584515e500729dd;p=thirdparty%2Fntp.git checkAuthors.in tweaks bk: 672c6239-OtKNJKVXLcJm0g1ELl3sg --- diff --git a/scripts/build/checkAuthors.in b/scripts/build/checkAuthors.in index 00d092919..a13735f54 100755 --- a/scripts/build/checkAuthors.in +++ b/scripts/build/checkAuthors.in @@ -70,15 +70,16 @@ if (! -r $A_file) { } } -if (! -d $A_path) { - warn "$A_path is not a directory!\n"; - ++$problem; +{ + my @args = ("bk", "get", "-q", $A_path); + unless (system(@args) == 0) { + warn "system @args failed: $?"; + ++$problem; + } } die "bkroot: <$bk_root>, Fix above problems!\n" if ($problem != 0); -my @args = ("bk", "get", "-q", $A_path); -system(@args) == 0 || die "system @args failed: $?"; # print "Validating '$A_path/*.txt'\n" if ($verbose);