From: Bruno Haible Date: Sat, 13 Apr 2019 22:01:57 +0000 (+0200) Subject: build: Don't fail copyright header check on archive.dir.tar. X-Git-Tag: v0.20~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8c49e5478c0b8f4921c2a6d7ca8e359bcaa89c50;p=thirdparty%2Fgettext.git build: Don't fail copyright header check on archive.dir.tar. * check-copyright-headers (func_check_file): Succeed for the archive.dir.tar file. --- diff --git a/check-copyright-headers b/check-copyright-headers index 27a68d593..7cbc65f56 100755 --- a/check-copyright-headers +++ b/check-copyright-headers @@ -156,6 +156,11 @@ func_check_file () # This is a form, used for communication with the FSF. return 0 ;; + /gettext-tools/misc/archive.dir.tar ) + # This is an archive of files that were part of earlier gettext releases. + # As a binary file, it cannot have a copyright header. + return 0 ;; + *.gmo ) # These are binary files. FOO.gmo is generated from FOO.po, which is # also distributed.