Clear build products before NEOS update (#1677)

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1932e2824e
commatwo_master
Jason Young 5 years ago committed by GitHub
parent d231b3a7ec
commit ba98725583
  1. 6
      launch_chffrplus.sh

@ -86,6 +86,12 @@ function launch {
cp "$DIR/scripts/continue.sh" "/data/data/com.termux/files/continue.sh"
fi
if [ ! -f "$BASEDIR/prebuilt" ]; then
echo "Clearing build products and resetting scons state prior to NEOS update"
cd $BASEDIR && scons --clean
rm -rf /tmp/scons_cache
rm -r $BASEDIR/.sconsign.dblite
fi
"$DIR/installer/updater/updater" "file://$DIR/installer/updater/update.json"
fi

Loading…
Cancel
Save