Changes to remove -i and -u options on fastboot commands
This commit is contained in:
5
Flash.sh
Normal file → Executable file
5
Flash.sh
Normal file → Executable 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
|
||||||
|
|||||||
Reference in New Issue
Block a user