1
0

Match wildcard usage between manual- and arduino-installed environments

Finding the base-dir of installed environments use a wildcard causing
[dir]/packages/keyboardio/hardware/avr/toolchain to be the interpreted
as the installed env, breaking use of that variable later when it
informs paths for the boards.txt and other files.
This commit is contained in:
Ryan S. Brown 2018-03-05 09:29:17 -05:00
parent b745a26c5a
commit b446ec2ce6

View File

@ -12,7 +12,7 @@ PACKAGE_DIR ?= $(HOME)/.arduino15
endif
ARDUINO_INSTALLED_ENV=$(shell ls -dt $(PACKAGE_DIR)/packages/keyboardio/hardware/avr/* 2>/dev/null |head -n 1)
ARDUINO_INSTALLED_ENV=$(shell ls -dt $(PACKAGE_DIR)/packages/keyboardio/hardware/avr 2>/dev/null |head -n 1)
MANUALLY_INSTALLED_ENV=$(shell ls -dt $(SKETCHBOOK_DIR)/hardware/keyboardio/avr 2>/dev/null |head -n 1)