summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-21 02:03:38 +0000
committerGitHub <noreply@github.com>2022-11-21 02:03:38 +0000
commitfe577daf966f34ae056f685c5a260473635c5ec8 (patch)
tree3f1a27d5a5ff4b0722d19317796e0d0d5fd22bbf /util
parente451703680a10322b7a6e74d1e3778f1776fb561 (diff)
Remove .noci functionality (#19122)
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 @@
1#!/bin/sh 1#!/bin/sh
2# Temporary shell script to find keyboards 2# Temporary shell script to find keyboards
3# 3#
4# This allows us to exclude keyboards by including a .noci file. 4# This allows us to include DEFAULT_FOLDER targets.
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!'
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
18done