From b446ec2ce6809a1b5a04f268e14a0efd90779a0b Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Mon, 5 Mar 2018 09:29:17 -0500 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3