fix a typo in the cygwin tmpdir support

tmp/arduino-cli-pre-rebase
Jesse Vincent 4 years ago
parent 253c2b152b
commit 782d3efe63
No known key found for this signature in database
GPG Key ID: CC228463465E40BC

@ -155,7 +155,7 @@ elif [ "${uname_O}" = "Cygwin" ]; then
# Windows Arduino binaries can understand.
: "${ARDUINO_PATH:=/cygdrive/c/Program\ Files\ (x86)/Arduino}"
: "${ARDUINO_LOCAL_LIB_PATH:=/cygdrive/c/Users/${USER}/Arduino}"
TMPDIR="${ARDUINO_LOCAL_LIB_PATH:-/cygdrive/c/Users/${USER}/AppData/Local/Temp}"
: "${TMPDIR:=/cygdrive/c/Users/${USER}/AppData/Local/Temp}"
# We need to prevent Windows executables from being passed parameters that are absolute paths, since they won't
# be interpretable when of the form /cygdrive/c/foo. To work around this, we set the common path root variables

Loading…
Cancel
Save