[tor/master] add_c_file: tolerate ./ in filenames.

20 Jan
2020
20 Jan
'20
5:53 a.m.
commit 4f45ad1394c4744f2c7a3deec45a32e3712e24bc Author: Nick Mathewson <nickm@torproject.org> Date: Wed Jan 15 12:58:52 2020 -0500 add_c_file: tolerate ./ in filenames. --- scripts/maint/add_c_file.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/maint/add_c_file.py b/scripts/maint/add_c_file.py index 6656d0d42..66a4fdcd9 100755 --- 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")
1968
Age (days ago)
1968
Last active (days ago)
0 comments
1 participants
participants (1)
-
teor@torproject.org