mirror of https://github.com/cowrie/cowrie.git
code to delete old compiled code
This commit is contained in:
parent
6e974a68de
commit
fc93c14845
|
@ -162,6 +162,14 @@ fi
|
|||
find_cowrie_directory $0
|
||||
cd ${COWRIEDIR}
|
||||
export PYTHONPATH=${PYTHONPATH}:${COWRIEDIR}/src
|
||||
|
||||
# This is for the move to src/ on 2018-07-21
|
||||
# It deletes old compiled python code
|
||||
# Can be removed at some time in the future
|
||||
for dir in ${COWRIEDIR}/twisted ${COWRIEDIR}/cowrie; do
|
||||
[ -d ${dir} ] && find ${dir} -name '*pyc' | xargs rm -f
|
||||
done
|
||||
|
||||
PIDFILE=var/run/cowrie.pid
|
||||
set -e
|
||||
|
||||
|
|
Loading…
Reference in New Issue