We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efad71c + 542160d commit 76cc67cCopy full SHA for 76cc67c
Flash.sh
@@ -68,12 +68,12 @@ sudo udevadm control --reload-rules
68
69
echo -e "\n Installing CHIP-tools"
70
if [ -d CHIP-tools ]; then
71
- pushd CHIP-tools
72
- git pull
73
- popd
+ cd CHIP-tools
+ git pull
+ FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
74
+ elif [ !-d CHIP-tools ]; then
75
+ git clone https://github.com/Project-chip-crumbs/CHIP-tools.git
76
77
78
fi
-git clone https://github.com/Project-chip-crumbs/CHIP-tools.git
79
-cd CHIP-tools
-
-FEL='sudo sunxi-fel' FASTBOOT='sudo fastboot' SNIB=false ./chip-update-firmware.sh -$flavour
0 commit comments