summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/list_keyboards.sh16
1 files changed, 2 insertions, 14 deletions
diff --git a/util/list_keyboards.sh b/util/list_keyboards.sh
index aa6ed1c6af..0d1dae888f 100755
--- a/util/list_keyboards.sh
+++ b/util/list_keyboards.sh
@@ -1,18 +1,6 @@
#!/bin/sh
# Temporary shell script to find keyboards
#
-# This allows us to exclude keyboards by including a .noci file.
+# This allows us to include DEFAULT_FOLDER targets.
-find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do
- if [ "$1" = "noci" ]; then
- case "$keyboard" in
- handwired/*)
- ;;
- *)
- test -e "keyboards/${keyboard}/.noci" || echo "$keyboard"
- ;;
- esac
- else
- echo "$keyboard"
- fi
-done
+find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!'