From ada38d5fa317498d15be166623520b9152c650cb Mon Sep 17 00:00:00 2001
From: Jakub Jelinek <jakub@redhat.com>
Date: Wed, 3 Jan 2018 11:00:43 +0100
Subject: [PATCH] * update-copyright.py: Skip pdt-5.f03 in gfortran.dg subdir.

From-SVN: r256168
---
 contrib/ChangeLog           | 4 ++++
 contrib/update-copyright.py | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 16c1f41f5428..b175060ae932 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2018-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+	* update-copyright.py: Skip pdt-5.f03 in gfortran.dg subdir.
+
 2017-11-28  Julia Koval  <julia.koval@intel.com>
             Sebastian Peryt  <sebastian.peryt@intel.com>
 
diff --git a/contrib/update-copyright.py b/contrib/update-copyright.py
index f9852a8544f8..85be1e151a63 100755
--- a/contrib/update-copyright.py
+++ b/contrib/update-copyright.py
@@ -591,6 +591,8 @@ class TestsuiteFilter (GenericFilter):
         # Similarly params/README.
         if filename == 'README' and os.path.basename (dir) == 'params':
             return True
+        if filename == 'pdt_5.f03' and os.path.basename (dir) == 'gfortran.dg':
+	    return True
         return GenericFilter.skip_file (self, dir, filename)
 
 class LibCppFilter (GenericFilter):
-- 
GitLab