Skip to content

Commit 91c0b15

Browse files
authored
define activate_env before rest of build script
1 parent 41b5b64 commit 91c0b15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.conda/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
set -x
22

3+
ACTIVATE_ENV="${PREFIX}/etc/conda/activate.d/env_vars.sh"
4+
35
if [ -f "$ACTIVATE_ENV" ]; then
46
echo 'python-jl -c "import julia; julia.install()"' >> $ACTIVATE_ENV
57
# echo 'sed -i \'/julia.install/d\' $ACTIVATE_ENV' >> $ACTIVATE_ENV

0 commit comments

Comments
 (0)