blob: c48d1aa64150120542ca7856dd7c4beeb9c69bb1 (
plain)
1
2
3
4
5
6
7
8
|
PYTHON=#PYVER#
if which $PYTHON >/dev/null 2>&1 && [ -e /usr/lib/$PYTHON/compileall.py ]; then
DIRLIST="#DIRLIST#"
for i in $DIRLIST ; do
$PYTHON -O /usr/lib/$PYTHON/compileall.py -q $i
$PYTHON /usr/lib/$PYTHON/compileall.py -q $i
done
fi
|