Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-08-26 17:18:32 +0300
committerAnna Henningsen <anna@addaleax.net>2018-08-31 20:07:38 +0300
commit36c56db0b1df9f5f3a7de3440808258c954c26ea (patch)
tree44ca550a146fdde6b15467ed81b592fcd02365b1 /configure
parent83f319cb3b4a422a5e8def1f7489a97de68267c1 (diff)
build: use `0o` octal notation in configure
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 <me@gus.host> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c9d598b7992..332071345f4 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',