Changes to remove -i and -u options on fastboot commands

This commit is contained in:
bicubico
2023-02-17 17:03:55 -03:00
parent 56be3f7c05
commit a3874c73b7

5
Flash.sh Normal file → Executable file
View File

@@ -74,6 +74,11 @@ if [ -d CHIP-tools ]; then
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
elif [ ! -d CHIP-tools ]; then elif [ ! -d CHIP-tools ]; then
git clone https://github.com/Project-chip-crumbs/CHIP-tools.git git clone https://github.com/Project-chip-crumbs/CHIP-tools.git
echo -e "\n Removing strict check to avoid '-i' errors"
find . -type f -exec sed -i 's///g' {} +
find . -type f -exec sed -i 's///g' {} +
cd CHIP-tools cd CHIP-tools
FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
fi fi