Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 32d7981

Browse filesBrowse 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
Copy full SHA for 32d7981

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎configure‎

Copy file name to clipboardExpand all lines: configure
+1-2Lines changed: 1 addition & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.