Skip to content

Commit

Permalink
Fix PATH update in install script
Browse files Browse the repository at this point in the history
  • Loading branch information
jackstanek committed Jul 15, 2016
1 parent b1dab10 commit 1c03912
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ function install-conda-by-hand()

cd $CWD

echo "PATH=$PATH:$BASE/conda/bin" > setenv.sh
local PATH_PREFIX='PATH=$PATH:'
local NEW_PATH=$BASE/conda/bin
echo "$PATH_PREFIX" > setenv.sh
source setenv.sh

}

function check-conda-install()
Expand Down Expand Up @@ -173,7 +174,7 @@ function on-success()
red "However, it appears that conda needed to be installed locally."
echo "This means you will need to adjust your environment variables."
echo "To do this, run 'source setenv.sh' in this directory."
echo "Or, run '< setenv.sh >> ~/.bashrc && source ~/.bashrc' to set permanently."
echo "Or, run '< setenv.sh >> ~/.bash_profile && source ~/.bash_profile' to set permanently."
fi

echo -n ""
Expand Down

0 comments on commit 1c03912

Please sign in to comment.