From 78e00631dda006e0c3e762b57c41234336be5140 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 25a32ef6bc..34042bedbd 100755 --- a/configure +++ b/configure @@ -1378,8 +1378,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']