From c985683ec8bdf38ec346985a2a32df68ae0dafb2 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 30 Sep 2020 10:55:51 -0600 Subject: [PATCH] Generate layouts for other launch prototypes --- layouts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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