Commit 7eafa3b 1 parent c5e5e25 commit 7eafa3b Copy full SHA for 7eafa3b
File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ export MAX_N_PID_4_TCOFFEE=$( cat /proc/sys/kernel/pid_max)
Original file line number Diff line number Diff line change @@ -15,3 +15,11 @@ make CC=$CXX CFLAGS="$CFLAGS"
15
15
# install tcoffee in the target bin directory
16
16
mkdir -p $PREFIX /bin
17
17
cp t_coffee $PREFIX /bin
18
+
19
+ # Copy the [de]activate scripts to $PREFIX/etc/conda/[de]activate.d.
20
+ # This will allow them to be run on environment activation.
21
+ for CHANGE in " activate" " deactivate"
22
+ do
23
+ mkdir -p " ${PREFIX} /etc/conda/${CHANGE} .d"
24
+ cp " ${RECIPE_DIR} /${CHANGE} .sh" " ${PREFIX} /etc/conda/${CHANGE} .d/${PKG_NAME} _${CHANGE} .sh"
25
+ done
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ unset MAX_N_PID_4_TCOFFEE
You can’t perform that action at this time.
0 commit comments