]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Add -e to enable interpretation of escape characters
authorDanny Nguyen <danny@keeb.io>
Fri, 12 Jan 2018 17:12:19 +0000 (12:12 -0500)
committerJack Humbert <jack.humb@gmail.com>
Fri, 12 Jan 2018 17:35:03 +0000 (12:35 -0500)
tmk_core/avr.mk

index c083f6b72d6c9a6075649960b3ffc8c18a4b0ae3..30d4fe26ee46f7c39fa00ccdb096fa5b308c61ba 100644 (file)
@@ -173,10 +173,10 @@ avrdude: $(BUILD_DIR)/$(TARGET).hex check-size
                echo 'ERROR: AVR flashing cannot be automated within the Windows Subsystem for Linux (WSL) currently. Instead, take the .hex file generated and flash it using AVRDUDE, AVRDUDESS, or XLoader.'; \
        else \
                ls /dev/tty* > /tmp/1; \
-               echo "Detecting USB port, reset your controller now.\c"; \
+               echo -e "Detecting USB port, reset your controller now.\c"; \
                while [ -z $$USB ]; do \
                        sleep 1; \
-                       echo ".\c"; \
+                       echo -e ".\c"; \
                        ls /dev/tty* > /tmp/2; \
                        USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \
                done; \