blob: aa6ed1c6afed03f99aa7bb9c7114a8b76d12f50f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
# Temporary shell script to find keyboards
#
# 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
if [ "$1" = "noci" ]; then
case "$keyboard" in
handwired/*)
;;
*)
test -e "keyboards/${keyboard}/.noci" || echo "$keyboard"
;;
esac
else
echo "$keyboard"
fi
done
|