diff --git a/layouts.sh b/layouts.sh index b9e9b9185c8..7df5647f9b3 100755 --- a/layouts.sh +++ b/layouts.sh @@ -28,9 +28,9 @@ gcc -I. "$source" -o "$binary" "$binary" | tee "$D/keymap.csv" cd keyboards/ -for board in system76/launch_1 +for board in system76/launch_* do - file="$board/launch_1.h" + file="$board/$(basename "$board").h" if [ ! -e "$file" ] then continue