commit 4f45ad1394c4744f2c7a3deec45a32e3712e24bc parent ef1744e2c938517220e8f27370c134efb78cdd0c Author: Nick Mathewson <nickm@torproject.org> Date: Wed, 15 Jan 2020 12:58:52 -0500 add_c_file: tolerate ./ in filenames. Diffstat:
| M | scripts/maint/add_c_file.py | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/maint/add_c_file.py b/scripts/maint/add_c_file.py @@ -216,6 +216,9 @@ def run(fn): add them to include.am. """ + if fn.startswith("./"): + fn = fn[2:] + cf = makeext(fn, "c") hf = makeext(fn, "h")