Subfolder does not exist on esp8266
This commit is contained in:
parent
e9325a6c19
commit
1f92adc195
@ -68,8 +68,10 @@ for f in $FILES; do
|
||||
echo "place the terminal into the folder where the lua files are present"
|
||||
exit 1
|
||||
fi
|
||||
echo "------------- $f ------------"
|
||||
python3 $LUATOOL -p $DEVICE -f $f -b $BAUD -t $f
|
||||
|
||||
espFile=$(echo "$f" | sed 's;diet/;;g')
|
||||
echo "------------- $espFile ------------"
|
||||
python3 $LUATOOL -p $DEVICE -f $f -b $BAUD -t $espFile
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "STOOOOP"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user