summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/list_keyboards.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/util/list_keyboards.sh b/util/list_keyboards.sh
index 1c103e0f11..aa6ed1c6af 100755
--- a/util/list_keyboards.sh
+++ b/util/list_keyboards.sh
@@ -4,5 +4,15 @@
# This allows us to exclude keyboards by including a .noci file.
find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do
- [ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard"
+ if [ "$1" = "noci" ]; then
+ case "$keyboard" in
+ handwired/*)
+ ;;
+ *)
+ test -e "keyboards/${keyboard}/.noci" || echo "$keyboard"
+ ;;
+ esac
+ else
+ echo "$keyboard"
+ fi
done