aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools
diff options
context:
space:
mode:
authorgchuf <gasper.cefarin@gmail.com>2019-10-04 17:47:11 +0200
committergchuf <gasper.cefarin@gmail.com>2019-10-04 17:47:55 +0200
commitdffae5a5adc0626fae1a5a13279fc4dde4ec603e (patch)
tree3c103e7c85ed16f2c35caea950457e3480625aaa /contrib/devtools
parent94e6e9f38deeba61655fee432afe42e66ff72ea3 (diff)
scripts: update copyright_header script to include additional files
Includes .sh and .bash-completion files in the script as well
Diffstat (limited to 'contrib/devtools')
-rwxr-xr-xcontrib/devtools/copyright_header.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/copyright_header.py b/contrib/devtools/copyright_header.py
index 67e77bc63d..5307b04197 100755
--- a/contrib/devtools/copyright_header.py
+++ b/contrib/devtools/copyright_header.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-# Copyright (c) 2016-2018 The Bitcoin Core developers
+# Copyright (c) 2016-2019 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -34,7 +34,7 @@ EXCLUDE_DIRS = [
"src/univalue/",
]
-INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py']
+INCLUDE = ['*.h', '*.cpp', '*.cc', '*.c', '*.mm', '*.py', '*.sh', '*.bash-completion']
INCLUDE_COMPILED = re.compile('|'.join([fnmatch.translate(m) for m in INCLUDE]))
def applies_to_file(filename):