From 93b12a553bd4c910d616bf88ce20782f5bf3252a Mon Sep 17 00:00:00 2001 From: Ruslan Bekenev Date: Sun, 23 Apr 2017 19:45:46 +0300 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/12610 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Gibson Fahnestock --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index 06ccb26e9be2ab..81131f94e958e0 100755 --- a/configure +++ b/configure @@ -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']