Fixing some of our interim back-compat for old makefiles

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

@ -666,6 +666,13 @@ if [ $# -lt 1 ]; then
exit 1
fi
# Temporary migration for old makefiles
# I'm not thrilled about how we default to system Arduino dirs.
if [ -n "${BOARD_HARDWARE_PATH}" ]; then
ARDUINO_DIRECTORIES_USER="${BOARD_HARDWARE_PATH}/../"
fi
## Parse the command-line
## - anything that has a =, is an env var
## - from the remaining stuff, the first one is the Library/Sketch

Loading…
Cancel
Save