diff options
author | Nick Brassel <nick@tzarc.org> | 2020-12-20 19:08:39 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 19:08:39 +1100 |
commit | 13bbeefc5af557abb1dc577bfafc709c5e09def0 (patch) | |
tree | ddc14423d8ace566c727f00bccb524709dd4f1cc | |
parent | 63362a9c5e8251ad2d080e21d6b9af45b5adb0c4 (diff) | |
download | qmk_firmware-13bbeefc5af557abb1dc577bfafc709c5e09def0.tar.gz qmk_firmware-13bbeefc5af557abb1dc577bfafc709c5e09def0.zip |
Follow symlinks when listing keyboards. (#11250)
-rwxr-xr-x | util/list_keyboards.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/list_keyboards.sh b/util/list_keyboards.sh index 672d4a784..7849cf4d9 100755 --- a/util/list_keyboards.sh +++ b/util/list_keyboards.sh | |||
@@ -3,8 +3,8 @@ | |||
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 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 | while read keyboard; do |
7 | keyboard=$(echo $keyboard | sed 's!keyboards/\(.*\)/rules.mk!\1!') | 7 | keyboard=$(echo $keyboard | sed 's!keyboards/\(.*\)/rules.mk!\1!') |
8 | 8 | ||
9 | [ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard" | 9 | [ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard" |
10 | done | 10 | done |