diff options
author | Joel Challis <git@zvecr.com> | 2023-02-16 01:00:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-16 01:00:01 +0000 |
commit | 242f51007f2a6151da49cebb0d6ac4aa77fa9e19 (patch) | |
tree | ed0c9bc7ae6d04370e26f4a2a2580a032f1ca6a5 | |
parent | 5e8c0e4d5f560e4880e42443dd3c3985b944afe9 (diff) |
Fix regen script for macOS (#19857)
-rwxr-xr-x | util/regen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/regen.sh b/util/regen.sh index 48ea7e0b2d..ab03018893 100755 --- a/util/regen.sh +++ b/util/regen.sh @@ -5,6 +5,6 @@ qmk generate-rgb-breathe-table -o quantum/rgblight/rgblight_breathe_table.h qmk generate-keycodes --version latest -o quantum/keycodes.h qmk generate-keycodes-tests --version latest -o tests/test_common/keycode_table.cpp -for lang in $(find data/constants/keycodes/extras/ -type f -printf "%f\n" | sed "s/keycodes_\(.*\)_[0-9].*/\1/"); do +for lang in $(find data/constants/keycodes/extras/ -type f -exec basename '{}' \; | sed "s/keycodes_\(.*\)_[0-9].*/\1/"); do qmk generate-keycode-extras --version latest --lang $lang -o quantum/keymap_extras/keymap_$lang.h done |