diff options
author | fanquake <fanquake@gmail.com> | 2020-01-03 19:24:58 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-01-04 08:56:37 +0800 |
commit | 76bf97213f4b153dd3ccf1314088a73c4804601d (patch) | |
tree | e6daa7c26080b9ed26b40a9f8c3d1ff55cedd2cf /contrib/devtools/README.md | |
parent | 816464198c34a373229e865d76f4bc0ca8f127dc (diff) | |
download | bitcoin-76bf97213f4b153dd3ccf1314088a73c4804601d.tar.xz |
scripts: fix check-symbols & check-security argument passing
The first argument in bin_PROGRAMS (bitcoind) was being silently
dropped and never passed into the check-security.py or check-symbols.py scripts.
This has been the case since the scripts were added to the makefile in
https://github.com/bitcoin/bitcoin/commit/f3d3eaf78eb51238d799d8f20a585550d1567719.
Example of the behavior:
```python
# touch a, touch b, touch c
# python3 args.py < a b c
import sys
if __name__ == '__main__':
print(sys.argv)
# ['args.py', 'b', 'c']
# if you add some lines to "a",
# you'll see them here..
for line in sys.stdin:
print(line)
```
Diffstat (limited to 'contrib/devtools/README.md')
0 files changed, 0 insertions, 0 deletions