This repository was archived by the owner on Dec 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +0
-101
lines changed
Expand file tree Collapse file tree 4 files changed +0
-101
lines changed Original file line number Diff line number Diff line change @@ -31,18 +31,6 @@ binDir=`pwd -P`
3131# Force npm to use its builtin node-gyp
3232unset npm_config_node_gyp
3333
34- export ATOM_APM_ORIGINAL_PYTHON=" ${PYTHON:- } "
35-
36- # Assumption: env iterates through environment variables in the same order that
37- # process.env iterates through properties within npm. So, we take the last match.
38- for var in $( env | grep -i ^npm_config_python=)
39- do
40- ATOM_APM_ORIGINAL_PYTHON=" ${var#* =} "
41- unset ${var%% =* }
42- done
43-
44- export npm_config_python=" ${binDir} /python-interceptor.sh"
45-
4634cliPath=" $binDir /../lib/cli.js"
4735if [[ $( uname -r) == * -Microsoft ]]; then
4836 cliPath=" $( echo $cliPath | sed ' s/\/mnt\/\([a-z]*\)\(.*\)/\1:\2/' ) "
Original file line number Diff line number Diff line change @@ -5,19 +5,4 @@ export PATH="$SCRIPT_DIR:$PATH"
55# Force npm to use its builtin node-gyp
66unset npm_config_node_gyp
77
8- export ATOM_APM_ORIGINAL_PYTHON=" ${PYTHON:- } "
9-
10- # Assumption: env iterates through environment variables in the same order that
11- # process.env iterates through properties within npm. So, we take the last match.
12- for var in $( env | grep -i ^npm_config_python=)
13- do
14- ATOM_APM_ORIGINAL_PYTHON=" ${var#* =} "
15- done
16- if [ -z " ${ATOM_APM_ORIGINAL_PYTHON} " ] && [ -n " ${PYTHON:- } " ]
17- then
18- ATOM_APM_ORIGINAL_PYTHON=" ${PYTHON} "
19- fi
20-
21- export npm_config_python=" ${SCRIPT_DIR} /python-interceptor.sh"
22-
238" $SCRIPT_DIR " /../node_modules/.bin/npm $@
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments