From 040b1c2894ca9de3255daa55875e811c61863c03 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 --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index fccbec1d01ecd6..015d11408520ef 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']