Skip to content

Commit 32d7981

Browse files
krydosgibfahn
authored andcommitted
build: use do_not_edit variable where possible
We should not use hardcoded string to warn users about file was generated by configure script. Since we already have do_not_edit variable we can use it PR-URL: #12610 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
1 parent 64f9adc commit 32d7981

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure

+1-2
Original file line numberDiff line numberDiff line change
@@ -1358,8 +1358,7 @@ if options.prefix:
13581358

13591359
config = '\n'.join(map('='.join, config.iteritems())) + '\n'
13601360

1361-
write('config.mk',
1362-
'# Do not edit. Generated by the configure script.\n' + config)
1361+
write('config.mk', do_not_edit + config)
13631362

13641363
gyp_args = [sys.executable, 'tools/gyp_node.py', '--no-parallel']
13651364

0 commit comments

Comments
 (0)