From a3874c73b737513f8a2d80ed1be5be12def1936d Mon Sep 17 00:00:00 2001 From: bicubico Date: Fri, 17 Feb 2023 17:03:55 -0300 Subject: [PATCH] Changes to remove -i and -u options on fastboot commands --- Flash.sh | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 Flash.sh diff --git a/Flash.sh b/Flash.sh old mode 100644 new mode 100755 index 6dccc8e..f251cff --- a/Flash.sh +++ b/Flash.sh @@ -74,6 +74,11 @@ if [ -d CHIP-tools ]; then FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour elif [ ! -d CHIP-tools ]; then 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 FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour fi