funngleyay

This commit is contained in:
2024-10-29 07:16:23 -06:00
parent ee40b8e6de
commit ff77f2938a
+8 -1
View File
@@ -1,8 +1,15 @@
subprocess() {
echo "\nChanging ESPTARGET\n" echo "\nChanging ESPTARGET\n"
echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)" echo "Set esp target (esp32, esp32s3, esp32c6, esp8266, etc)"
read esp read esp
eval "$1=$esp"
return 0
}
export ESPTARGET="${esp}" ret=''
subprocess ret
export ESPTARGET="${ret}"
echo "\nESPTARGET set to ${ESPTARGET}\n" echo "\nESPTARGET set to ${ESPTARGET}\n"
echo "\nall done :3\n" echo "\nall done :3\n"