@ -26,8 +26,11 @@ if [ ! -d "$SOURCE_DIR" ]; then
git clone --depth 1 https://github.com/commaai/openpilot.git "$SOURCE_DIR"
fi
# this can get really big on the CI devices
if [ -f "/EON" ]; then
rm -rf /data/core
rm -rf /data/neoupdate
rm -rf /data/safe_staging
# set up environment
cd $SOURCE_DIR