Skip to content

Commit

Permalink
build: use do_not_edit variable where possible
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
krydos authored and evanlucas committed May 2, 2017
1 parent 745dea9 commit 212475b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1370,8 +1370,7 @@ if options.prefix:

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

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

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

Expand Down

0 comments on commit 212475b

Please sign in to comment.