aboutsummaryrefslogtreecommitdiff
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 1c103e0f1..aa6ed1c6a 100755
--- a/util/list_keyboards.sh
+++ b/util/list_keyboards.sh
@@ -4,5 +4,15 @@
4# This allows us to exclude keyboards by including a .noci file. 4# This allows us to exclude keyboards by including a .noci file.
5 5
6find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do 6find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do
7 [ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard" 7 if [ "$1" = "noci" ]; then
8 case "$keyboard" in
9 handwired/*)
10 ;;
11 *)
12 test -e "keyboards/${keyboard}/.noci" || echo "$keyboard"
13 ;;
14 esac
15 else
16 echo "$keyboard"
17 fi
8done 18done