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

Commit

Permalink
Don't modify PATH on OS X
Browse files Browse the repository at this point in the history
There is a node executable in the apm/bin directory, which overrides any version of Node.js installed on the system since the PATH is being updated to put this path at the front. As the Linux side of the script does not do this, remove the modification of the PATH to stop breaking Node.js.
  • Loading branch information
Arcanemagus committed Jul 6, 2016
1 parent c7ad441 commit 193a5b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ if [ "$TRAVIS_OS_NAME" = "osx" ]; then
export ATOM_SCRIPT_PATH="./atom-${ATOM_CHANNEL}"
ln -s "./atom/${ATOM_APP_NAME}/Contents/Resources/app/atom.sh" "${ATOM_SCRIPT_PATH}"
fi
export PATH="$PWD/atom/${ATOM_APP_NAME}/Contents/Resources/app/apm/bin:$PATH"
export ATOM_PATH="./atom"
export APM_SCRIPT_PATH="./atom/${ATOM_APP_NAME}/Contents/Resources/app/apm/node_modules/.bin/apm"
else
Expand Down

0 comments on commit 193a5b3

Please sign in to comment.