Browse Source

Follow symlinks when listing keyboards. (#11250)

pull/11253/head 0.11.14
Nick Brassel 3 years ago
committed by GitHub
parent
commit
13bbeefc5a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      util/list_keyboards.sh

+ 2
- 2
util/list_keyboards.sh View File

@ -3,8 +3,8 @@
#
# This allows us to exclude keyboards by including a .noci file.
find keyboards -type f -name rules.mk | grep -v keymaps | while read keyboard; do
keyboard=$(echo $keyboard | sed 's!keyboards/\(.*\)/rules.mk!\1!')
find -L keyboards -type f -name rules.mk | grep -v keymaps | while read keyboard; do
keyboard=$(echo $keyboard | sed 's!keyboards/\(.*\)/rules.mk!\1!')
[ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard"
done

Loading…
Cancel
Save