aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-10-04 14:10:02 -0400
committerfanquake <fanquake@gmail.com>2019-10-04 14:23:54 -0400
commit917d3d9052b5d91ee4cfe1053077cbc0c67c0ce2 (patch)
tree88510523dfc8dfd4506bc083e2b2cf0fd337d5d3
parent94d6a18f23ec1add600f04fc7bd0808b7384d829 (diff)
parentdffae5a5adc0626fae1a5a13279fc4dde4ec603e (diff)
downloadbitcoin-917d3d9052b5d91ee4cfe1053077cbc0c67c0ce2.tar.xz
Merge #17052: scripts: update copyright_header script to include additional files
dffae5a5adc0626fae1a5a13279fc4dde4ec603e scripts: update copyright_header script to include additional files (gchuf) Pull request description: Includes .sh and .bash-completion files in the script as well ACKs for top commit: MarcoFalke: ACK dffae5a5adc0626fae1a5a13279fc4dde4ec603e fanquake: ACK dffae5a5adc0626fae1a5a13279fc4dde4ec603e Tree-SHA512: b1372bc802b6613e3d6362819fefe7e2a9e656dc483238a626448e646ad57071297de108f89ecb7a71b0bcd49f8e6a2f7599f1dd7798a886872b6755de5d2ccf
-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):