aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-02-19 17:07:15 -0800
committerJesse Vincent <jesse@keyboard.io>2017-02-19 17:07:15 -0800
commit043b3f6b858627ded3358830a093200c2ad0f41e (patch)
tree2a0e13e291f87b64cf7628132a484c9d36025880
parentsnapshot sketch and infrastructure from the Kaleidoscope example (diff)
downloadkeyboardio-model01-043b3f6b858627ded3358830a093200c2ad0f41e.tar.gz
keyboardio-model01-043b3f6b858627ded3358830a093200c2ad0f41e.tar.bz2
keyboardio-model01-043b3f6b858627ded3358830a093200c2ad0f41e.zip
tweak kaleidoscope builder to check "."
-rwxr-xr-xtools/kaleidoscope-builder3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/kaleidoscope-builder b/tools/kaleidoscope-builder
index 97d1188..6c984e5 100755
--- a/tools/kaleidoscope-builder
+++ b/tools/kaleidoscope-builder
@@ -26,7 +26,8 @@ find_sketch () {
for path in "hardware/keyboardio/avr/libraries/Kaleidoscope-${LIBRARY}/examples/${SKETCH}" \
"examples/${LIBRARY}" \
- "src"; do
+ "src" \
+ "." ; do
if [ -f "${path}/${SKETCH}.ino" ]; then
echo "${path}"
return