default_pre_build &&
cd $SOURCE_DIRECTORY &&
chmod 755 release/plugins/bmake &&

# Set Python version to the installed version, not hardcoded one
sed -i "s:2.5:$(installed_version python | cut -d . -f 1,2):;s:-Wdeclaration-after-statement::" \
       $SOURCE_DIRECTORY/config/linux2-config.py &&

patch -p1 < $SPELL_DIRECTORY/blender-2.44-scriptsdir.patch
