diff options
author | R S Nikhil Krishna <rsnk96@gmail.com> | 2017-01-30 11:16:36 +0300 |
---|---|---|
committer | R S Nikhil Krishna <rsnk96@gmail.com> | 2017-01-30 11:16:36 +0300 |
commit | 40ca0e7c0e9208e7b50c513dede9a1a4feb117f8 (patch) | |
tree | a6f51816f24c6424ab3ca25d308e0df31b48c4fc | |
parent | d78ef0b2ea027d1ea47e93e772f0982e0b3ad7c3 (diff) |
Updated anaconda removal from PATH. Older version does not account for multiple anaconda paths to different environments
-rwxr-xr-x | install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ done # It has a malformed MKL library (as of 1/17/2015) OLDPATH=$PATH if [[ $(echo $PATH | grep conda) ]]; then - export PATH=$(echo $PATH | tr ':' '\n' | grep -v "conda[2-9]\?/bin" | grep -v "conda[2-9]\?/lib" | grep -v "conda[2-9]\?/include" | uniq | tr '\n' ':') + export PATH=$(echo $PATH | tr ':' '\n' | grep -v "conda[2-9]\?" | uniq | tr '\n' ':') fi echo "Prefix set to $PREFIX" |