From fdf58c647bbadb83f8a91859159ea1d0c90ee7c4 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 25743fe1080..9d021df3ca6 100755 --- a/configure +++ b/configure @@ -1358,8 +1358,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']