]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Use single brackets for portability with other shells
authorNic Aitch <nic@nicinabox.com>
Fri, 9 Jun 2017 14:14:44 +0000 (09:14 -0500)
committerNic Aitch <nic@nicinabox.com>
Fri, 9 Jun 2017 14:14:44 +0000 (09:14 -0500)
keyboards/lets_split/rules.mk

index 79860ea35d5cbd9b1613812c7326e180afaa1d20..43eff99e71c2d37944f785548722e09c4c98aa29 100644 (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.*'`; \