Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/distro.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR S Nikhil Krishna <rsnk96@gmail.com>2017-01-30 11:16:36 +0300
committerR S Nikhil Krishna <rsnk96@gmail.com>2017-01-30 11:16:36 +0300
commit40ca0e7c0e9208e7b50c513dede9a1a4feb117f8 (patch)
treea6f51816f24c6424ab3ca25d308e0df31b48c4fc
parentd78ef0b2ea027d1ea47e93e772f0982e0b3ad7c3 (diff)
Updated anaconda removal from PATH. Older version does not account for multiple anaconda paths to different environments
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index a437be5..a4b1301 100755
--- a/install.sh
+++ b/install.sh
@@ -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"