From e22ed95606936680e4eb159477e6be8b6569842f Mon Sep 17 00:00:00 2001 From: John SJ Anderson Date: Sat, 28 Oct 2017 12:11:30 -0700 Subject: [PATCH] Specify full path to `stty` I install GNU coreutils on my Macs, to get GNU `ls`. It also installs a GNU-flavored `stty`, which wants `-F` instead of `-f`. Giving the full path to the OS `stty` avoids issues in this case, and should be consequence-free for folks that _don't_ have GNU coreutils installed. --- etc/kaleidoscope-builder.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/kaleidoscope-builder.conf b/etc/kaleidoscope-builder.conf index 1846edb5..9ac994cf 100644 --- a/etc/kaleidoscope-builder.conf +++ b/etc/kaleidoscope-builder.conf @@ -50,7 +50,7 @@ if [ "${uname_S}" = "Darwin" ]; then DEVICE_PORT="${DEVICE_PORT:-$(ls /dev/cu.usbmodemHID* 2> /dev/null || echo '')}" DEVICE_PORT="${DEVICE_PORT:-$(ls /dev/cu.usbmodemCHID* 2> /dev/null || echo '')}" DEVICE_PORT="${DEVICE_PORT:-$(ls /dev/cu.usbmodem14* 2> /dev/null || echo '')}" - RESET_DEVICE="stty -f ${DEVICE_PORT} 1200" + RESET_DEVICE="/bin/stty -f ${DEVICE_PORT} 1200" ARDUINO_PATH="${ARDUINO_PATH:-/Applications/Arduino.app/Contents/Java/}"