Skip to content

Commit

Permalink
check if miniconda path exists
Browse files Browse the repository at this point in the history
  • Loading branch information
kangwonlee committed Jul 5, 2019
1 parent 3b8da32 commit 662fe4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install_nix_win_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
fi;
fi;
export PATH="$MINICONDA_PATH:$MINICONDA_SUB_PATH:$MINICONDA_LIB_BIN_PATH:$PATH";
# begin checking miniconda existance
echo "checking if folder $MINICONDA_SUB_PATH exists"
if [[ -d $MINICONDA_SUB_PATH ]]; then
echo "folder $MINICONDA_SUB_PATH exists"
else
echo "folder $MINICONDA_SUB_PATH does not exist"
fi;
# end checking miniconda existance
source $MINICONDA_PATH/etc/profile.d/conda.sh;
hash -r;
echo $TRAVIS_OS_NAME
Expand Down

0 comments on commit 662fe4c

Please sign in to comment.