Skip to content

Commit 0edb2ef

Browse files
committed
Don't use the full file path in the header of the generated config_keys.inc
file, because it leaks actual paths such as /home/rm/svn-1.14.5 into the tarballs. Instead, use the same approach already used by write_errno_table(), where the header reads like "This file was generated by build/generator/gen_base.py". * build/generator/gen_base.py (write_config_keys): Don't use __file__ in the generated header. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1936038 13f79535-47bb-0310-9956-ffa450edef68
1 parent 58d324c commit 0edb2ef

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

build/generator/gen_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,7 @@ def write_config_keys(self):
397397
empty_sections.append(macro)
398398

399399
lines = []
400-
lines.append('/* Automatically generated by %s:write_config_keys() */'
401-
% (__file__,))
400+
lines.append('/* Automatically generated by build/generator/gen_base.py */')
402401
lines.append('')
403402

404403
for kind in ('file', 'section', 'option'):

0 commit comments

Comments
 (0)