Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit f74675a

Browse files
committed
Back out the changes from #673
1 parent 886d137 commit f74675a

File tree

4 files changed

+0
-101
lines changed

4 files changed

+0
-101
lines changed

bin/apm

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@ binDir=`pwd -P`
3131
# Force npm to use its builtin node-gyp
3232
unset 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-
4634
cliPath="$binDir/../lib/cli.js"
4735
if [[ $(uname -r) == *-Microsoft ]]; then
4836
cliPath="$(echo $cliPath | sed 's/\/mnt\/\([a-z]*\)\(.*\)/\1:\2/')"

bin/npm

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,4 @@ export PATH="$SCRIPT_DIR:$PATH"
55
# Force npm to use its builtin node-gyp
66
unset 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 $@

bin/python-interceptor.sh

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/generator/safemake.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)