summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorJoão Reis <reis@janeasystems.com>2019-09-03 16:44:50 +0100
committerRich Trott <rtrott@gmail.com>2019-09-05 19:14:29 -0700
commit7bff96204bd2c4de4f7ff294d8d6be5a9c53c8d4 (patch)
treed835f7ad99f1455793acd20979dfed869ee49457 /.gitattributes
parent2882ce911df821895c70d2ee99a88a4554fa3221 (diff)
downloadios-node-v8-7bff96204bd2c4de4f7ff294d8d6be5a9c53c8d4.tar.gz
ios-node-v8-7bff96204bd2c4de4f7ff294d8d6be5a9c53c8d4.tar.bz2
ios-node-v8-7bff96204bd2c4de4f7ff294d8d6be5a9c53c8d4.zip
build,win: fix Python detection on localized OS
This code previously assumed the default value was always printed to the console by reg.exe as "(default)", but this is not true on localized versions of Windows and can contain spaces. Fixes: https://github.com/nodejs/node/issues/29417 PR-URL: https://github.com/nodejs/node/pull/29423 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: David Carlier <devnexen@gmail.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index fa5162684b..9f7d9377ea 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,3 @@
test/fixtures/* -text
vcbuild.bat text eol=crlf
+tools/msvs/find_python.cmd text eol=crlf