1
0
Fork 0

Merge pull request #1378 from nicinabox/fix-ls-avrdude

Let's Split avrdude portability fix
This commit is contained in:
Jack Humbert 2017-06-09 10:35:33 -04:00 committed by GitHub
commit 728f2f8d00

View file

@ -78,7 +78,7 @@ CUSTOM_MATRIX = yes
avrdude: build
ls /dev/tty* > /tmp/1; \
echo "Reset your Pro Micro now"; \
while [[ -z $$USB ]]; do \
while [ -z $$USB ]; do \
sleep 1; \
ls /dev/tty* > /tmp/2; \
USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \