mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 06:29:15 +00:00
Use single brackets for portability with other shells
This commit is contained in:
parent
9ac2ed280c
commit
3b38e6954a
1 changed files with 1 additions and 1 deletions
|
@ -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.*'`; \
|
||||
|
|
Loading…
Reference in a new issue