Commit 1239852d authored by Daniel Brown's avatar Daniel Brown

Sorting out env var settings for conda package

parent dd8d7b8d
......@@ -42,3 +42,17 @@ else
# Setup saved env vars
mkdir -p ${PREFIX}/etc/conda/activate.d
mkdir -p ${PREFIX}/etc/conda/deactivate.d
touch ${PREFIX}/etc/conda/activate.d/
touch ${PREFIX}/etc/conda/deactivate.d/
echo "#!/bin/bash" >> ${PREFIX}/etc/conda/activate.d/
echo "export KATINI=${PREFIX}/bin/kat.ini" >> ${PREFIX}/etc/conda/activate.d/
echo "export FINESSE_DIR=${PREFIX}/bin/" >> ${PREFIX}/etc/conda/activate.d/
echo "#!/bin/bash" >> ${PREFIX}/etc/conda/deactivate.d/
echo "unset KATINI" >> ${PREFIX}/etc/conda/deactivate.d/
echo "unset FINESSE_DIR" >> ${PREFIX}/etc/conda/deactivate.d/
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment