Skip to content

Commit

Permalink
Merge pull request #42 from antjost/main
Browse files Browse the repository at this point in the history
[Envs] Bug fix sh_Cassiopee_local.
  • Loading branch information
vincentcasseau authored Jun 17, 2024
2 parents 88ff5ab + 9dfbd10 commit b5b0de3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Cassiopee/Envs/sh_Cassiopee_local
Original file line number Diff line number Diff line change
Expand Up @@ -703,10 +703,11 @@ if ! [ -z $PATHL ]; then
fi

if [ "$PYTHONEXE" = "python3" ]; then
python() { python3 "$@"; }
export -f python
pyversion="python"`python3 -c "import sys; print('.'.join(str(n) for n in sys.version_info[:2]))"`
alias python=python3
else
pyversion="python"`python -c "import sys; print('.'.join(str(n) for n in sys.version_info[:2]))"`
fi
pyversion="python"`python -c "import sys; print('.'.join(str(n) for n in sys.version_info[:2]))"`

export PATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/bin
export LD_LIBRARY_PATHL=$CASSIOPEE/Dist/bin/"$ELSAPROD":$CASSIOPEE/Dist/bin/"$ELSAPROD"/lib
Expand Down

0 comments on commit b5b0de3

Please sign in to comment.