Skip to content
This repository has been archived by the owner on Aug 13, 2018. It is now read-only.

Commit

Permalink
change file path for anaconda.org builders
Browse files Browse the repository at this point in the history
  • Loading branch information
quasiben committed Feb 11, 2016
1 parent 6402de2 commit d65c4bf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions conda.recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ unamestr=`uname`
if [[ $unamestr == 'Linux' ]]; then
if [ -z $JAVA_HOME]; then
# Building with java-jdk from anaconda.org
export JAVA_HOME=/opt/anaconda/envs/_build/jre
export JRE_HOME=/opt/anaconda/envs/_build/jre
export LD_LIBRARY_PATH=/opt/anaconda/envs/_build/jre/lib/amd64/
export JAVA_HOME=/opt/miniconda/envs/_build/jre
export JRE_HOME=/opt/miniconda/envs/_build/jre
export LD_LIBRARY_PATH=/opt/miniconda/envs/_build/jre/lib/amd64/:$LD_LIBRARY_PATH
fi
elif [[ $unamestr == 'Darwin' ]]; then
export JAVA_HOME=$(/usr/libexec/java_home)
fi
java -version
$PYTHON setup.py install mvn

0 comments on commit d65c4bf

Please sign in to comment.