Skip to content

Commit

Permalink
Fix activation script for linux and osx
Browse files Browse the repository at this point in the history
  • Loading branch information
hadim committed Nov 28, 2018
1 parent 9f35d37 commit 3bf6c20
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions recipe/scripts/activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,4 @@ export JAVA_HOME_CONDA_BACKUP=${JAVA_HOME:-}
export JAVA_HOME=$CONDA_PREFIX

export JAVA_LD_LIBRARY_PATH_BACKUP=${JAVA_LD_LIBRARY_PATH:-}

os=$(uname -s | tr '[:upper:]' '[:lower:]')
if [[ $os == 'darwin' ]]; then
export JAVA_LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/server
else
export JAVA_LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/amd64/server
fi
export JAVA_LD_LIBRARY_PATH=$JAVA_HOME/lib/server

0 comments on commit 3bf6c20

Please sign in to comment.