diff --git a/bin/run-docker b/bin/run-docker index ead78f1d..3f7e1bb0 100755 --- a/bin/run-docker +++ b/bin/run-docker @@ -4,12 +4,12 @@ set -e uname_S=$(uname -s 2>/dev/null || echo not) -ARDUINO_LOCAL_LIB_PATH="${ARDUINO_LOCAL_LIB_PATH:-${HOME}/Arduino}" - if [ "${uname_S}" = "Darwin" ]; then ARDUINO_LOCAL_LIB_PATH="${ARDUINO_LOCAL_LIB_PATH:-${HOME}/Documents/Arduino}" # This stops macos from copying resource forks into thigns like tar export COPYFILE_DISABLE=true +else + ARDUINO_LOCAL_LIB_PATH="${ARDUINO_LOCAL_LIB_PATH:-${HOME}/Arduino}" fi BOARD_HARDWARE_PATH="${BOARD_HARDWARE_PATH:-${ARDUINO_LOCAL_LIB_PATH}/hardware}"