Skip to content

Commit

Permalink
build: use 0o octal notation in configure
Browse files Browse the repository at this point in the history
This un-‘breaks’ the error message we print when using
Python 3 to run `configure`.

Refs: nodejs/help#1457

PR-URL: #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>
  • Loading branch information
addaleax authored and targos committed Sep 3, 2018
1 parent ea34cc7 commit 4862ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4862ce1

Please sign in to comment.