mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2025-12-15 18:38:46 +00:00
Update MIRYOKU_KEYBOARD macro to handle board revisions
This commit is contained in:
parent
33d3e95f47
commit
7582540d65
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -98,7 +98,8 @@ jobs:
|
|||||||
|
|
||||||
tmpfile="$configfile.tmp"
|
tmpfile="$configfile.tmp"
|
||||||
echo -n '#define ' > "$tmpfile"
|
echo -n '#define ' > "$tmpfile"
|
||||||
echo "MIRYOKU_KEYBOARD_$keyboard_base" | tr '[a-z-]' '[A-Z_]' >> "$tmpfile"
|
echo -n "MIRYOKU_KEYBOARD_$keyboard_base" | tr -c '[:alnum:]' '_' |tr '[:lower:]' '[:upper:]' >> "$tmpfile"
|
||||||
|
echo >> "$tmpfile"
|
||||||
cat "$configfile" >> "$tmpfile"
|
cat "$configfile" >> "$tmpfile"
|
||||||
mv "$tmpfile" "$configfile"
|
mv "$tmpfile" "$configfile"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user