thunderace / Esp8266-Arduino-Makefile

Makefile to build arduino code for ESP8266/ESP32x under linux (tested on debian X64)
34 stars 20 forks source link

Calling esp8266-install.sh stops asking for overwrite of toolchain #25

Closed flohoff closed 5 years ago

flohoff commented 5 years ago

Hi, when starting esp8266-install.sh a second time stops in unzip because it does not automatically overwrite the toolchain:


 wget --no-clobber https://github.com/esp8266/Arduino/releases/download/$ESP8266_VER/esp8266-$ESP8266_VER.zip -P $DOWNLOAD_CACHE
-unzip $DOWNLOAD_CACHE/esp8266-$ESP8266_VER.zip
+unzip -o $DOWNLOAD_CACHE/esp8266-$ESP8266_VER.zip
 mkdir esp8266-$ESP8266_VER/package

Running unzip with -o will help

thunderace commented 5 years ago

Thank you