blob: e9b307548ba7731976733175b8c300652872c5cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# #-- pymod_thread.post --#
# source the master var file when it's there
[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
# source the test var file when it's there
[ -f .tpkg.var.test ] && source .tpkg.var.test
#
# do your teardown here
PRE="../.."
. ../common.sh
# if no python; exit
if grep "define WITH_PYTHONMODULE 1" $PRE/config.h; then
echo "have python module"
else
echo "no python module"
exit 0
fi
kill_pid $FWD_PID
kill_pid $UNBOUND_PID
exit 0
|