aboutsummaryrefslogtreecommitdiffstats
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
parenta0e03fa82c999744b8b2d449784f1e14bf8dc21f (diff)
downloadModel01-Firmware-043b3f6b858627ded3358830a093200c2ad0f41e.tar.gz
Model01-Firmware-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