diff options
| author | QMK Bot <hello@qmk.fm> | 2021-01-01 18:09:02 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-01-01 18:09:02 +0000 |
| commit | e45a2af683331ebadcedfab38953e5cdf229f281 (patch) | |
| tree | 938f6e112bb47c6ce9ce05b04f1ccf6a3740943f /util | |
| parent | d288f2f5daa1f4481703c6eb49af7950ccdce10c (diff) | |
| parent | e11d3d524da21912250dae170fa8e0d2039f6bcb (diff) | |
| download | qmk_firmware-e45a2af683331ebadcedfab38953e5cdf229f281.tar.gz qmk_firmware-e45a2af683331ebadcedfab38953e5cdf229f281.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'util')
| -rwxr-xr-x | util/list_keyboards.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/list_keyboards.sh b/util/list_keyboards.sh index 7849cf4d9..1c103e0f1 100755 --- a/util/list_keyboards.sh +++ b/util/list_keyboards.sh | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | # | 3 | # |
| 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 | ||
| 6 | find -L keyboards -type f -name rules.mk | grep -v keymaps | while read keyboard; do | 6 | find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do |
| 7 | keyboard=$(echo $keyboard | sed 's!keyboards/\(.*\)/rules.mk!\1!') | ||
| 8 | |||
| 9 | [ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard" | 7 | [ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard" |
| 10 | done | 8 | done |
