aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-10-24 22:59:23 -0700
committerJesse Vincent <jesse@keyboard.io>2017-10-24 22:59:23 -0700
commit76f5a59a7842ee9d132e82183b77ef293e2e8108 (patch)
treeb51f7da625eb1021c8001244c49cb4c7a7120098 /Makefile
parentMerge pull request #25 from ackintosh/trailing-slash (diff)
downloadkeyboardio-model01-76f5a59a7842ee9d132e82183b77ef293e2e8108.tar.gz
keyboardio-model01-76f5a59a7842ee9d132e82183b77ef293e2e8108.tar.bz2
keyboardio-model01-76f5a59a7842ee9d132e82183b77ef293e2e8108.zip
Quiet down a warning in the makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 70f4b4c..585ccba 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ PACKAGE_DIR ?= $(HOME)/.arduino15
endif
-INSTALLED_ENV=$(shell ls -dt $(PACKAGE_DIR)/packages/keyboardio/hardware/avr/*|head -n 1)
+INSTALLED_ENV=$(shell ls -dt $(PACKAGE_DIR)/packages/keyboardio/hardware/avr/* 2>/dev/null |head -n 1)
ifneq ("$(wildcard $(INSTALLED_ENV)/boards.txt)","")
BOARD_HARDWARE_PATH = $(INSTALLED_ENV)