mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
13 lines
344 B
Bash
Executable File
13 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PATCH=puya_core2_4_x.patch
|
|
|
|
for DIR in ~/.platformio/packages/framework-arduinoespressif8266/ ~/.platformio/packages/framework-arduinoespressif8266*/; do
|
|
|
|
#not applied yet? (in upstream or otherwise)
|
|
if ! grep "PUYA" $DIR/cores/esp8266/Esp.cpp >/dev/null; then
|
|
echo "Patching $DIR"
|
|
patch -p1 -d $DIR < $PATCH
|
|
fi
|
|
done
|