From 242f51007f2a6151da49cebb0d6ac4aa77fa9e19 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Thu, 16 Feb 2023 01:00:01 +0000 Subject: [PATCH] Fix regen script for macOS (#19857) --- util/regen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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