diff options
author | Ryan S. Brown <sb@ryansb.com> | 2018-03-05 09:29:17 -0500 |
---|---|---|
committer | Ryan S. Brown <sb@ryansb.com> | 2018-03-05 09:29:17 -0500 |
commit | b446ec2ce6809a1b5a04f268e14a0efd90779a0b (patch) | |
tree | 827d56d56c4a493c6ae5b722605f4af3a7002086 | |
parent | b745a26c5ac8d4587f868612bf148b00dc485de9 (diff) | |
download | Model01-Firmware-b446ec2ce6809a1b5a04f268e14a0efd90779a0b.tar.gz Model01-Firmware-b446ec2ce6809a1b5a04f268e14a0efd90779a0b.zip |
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.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |