summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRyan S. Brown <sb@ryansb.com>2018-03-05 09:29:17 -0500
committerRyan S. Brown <sb@ryansb.com>2018-03-05 09:29:17 -0500
commitb446ec2ce6809a1b5a04f268e14a0efd90779a0b (patch)
tree827d56d56c4a493c6ae5b722605f4af3a7002086 /Makefile
parentb745a26c5ac8d4587f868612bf148b00dc485de9 (diff)
downloadmodel01-firmware-b446ec2ce6809a1b5a04f268e14a0efd90779a0b.tar.gz
model01-firmware-b446ec2ce6809a1b5a04f268e14a0efd90779a0b.tar.bz2
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac11fb3..417a025 100644
--- a/Makefile
+++ b/Makefile
@@ -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)