From 36c56db0b1df9f5f3a7de3440808258c954c26ea Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sun, 26 Aug 2018 16:18:32 +0200 Subject: build: use `0o` octal notation in configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This un-‘breaks’ the error message we print when using Python 3 to run `configure`. Refs: https://github.com/nodejs/help/issues/1457 PR-URL: https://github.com/nodejs/node/pull/22536 Reviewed-By: Gus Caplan Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann Reviewed-By: Richard Lau Reviewed-By: Joyee Cheung Reviewed-By: Ruben Bridgewater Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index c9d598b799..332071345f 100755 --- a/configure +++ b/configure @@ -1575,7 +1575,7 @@ write('config.gypi', do_not_edit + write('config.status', '#!/bin/sh\nset -x\nexec ./configure ' + ' '.join([pipes.quote(arg) for arg in original_argv]) + '\n') -os.chmod('config.status', 0775) +os.chmod('config.status', 0o775) config = { 'BUILDTYPE': 'Debug' if options.debug else 'Release', -- cgit v1.2.3