Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
finesse
finesse
Commits
1239852d
Commit
1239852d
authored
Jun 23, 2017
by
Daniel Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sorting out env var settings for conda package
parent
dd8d7b8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
conda_pkg/finesse_2.1/build.sh
conda_pkg/finesse_2.1/build.sh
+14
-0
No files found.
conda_pkg/finesse_2.1/build.sh
View file @
1239852d
...
...
@@ -42,3 +42,17 @@ else
failure
fi
# Setup saved env vars https://conda.io/docs/using/envs.html
mkdir
-p
${
PREFIX
}
/etc/conda/activate.d
mkdir
-p
${
PREFIX
}
/etc/conda/deactivate.d
touch
${
PREFIX
}
/etc/conda/activate.d/finesse_vars.sh
touch
${
PREFIX
}
/etc/conda/deactivate.d/finesse_vars.sh
echo
"#!/bin/bash"
>>
${
PREFIX
}
/etc/conda/activate.d/finesse_vars.sh
echo
"export KATINI=
${
PREFIX
}
/bin/kat.ini"
>>
${
PREFIX
}
/etc/conda/activate.d/finesse_vars.sh
echo
"export FINESSE_DIR=
${
PREFIX
}
/bin/"
>>
${
PREFIX
}
/etc/conda/activate.d/finesse_vars.sh
echo
"#!/bin/bash"
>>
${
PREFIX
}
/etc/conda/deactivate.d/finesse_vars.sh
echo
"unset KATINI"
>>
${
PREFIX
}
/etc/conda/deactivate.d/finesse_vars.sh
echo
"unset FINESSE_DIR"
>>
${
PREFIX
}
/etc/conda/deactivate.d/finesse_vars.sh
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment