From 1328464c86a0c83bfbafa21c90c2e786bbe792ff Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 9 Dec 2024 21:23:35 -0500 Subject: [PATCH] puzzles: Update resync script to work around WIN32 issues Change-Id: I30a6c674724f683d0a0953f042749001f625f7b2 --- apps/plugins/puzzles/resync.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/plugins/puzzles/resync.sh b/apps/plugins/puzzles/resync.sh index 3431a6f695..33496745d5 100755 --- a/apps/plugins/puzzles/resync.sh +++ b/apps/plugins/puzzles/resync.sh @@ -49,7 +49,9 @@ then cp -r $SRC "$ROOT"/src popd > /dev/null +echo "#ifndef WIN32" >> SOURCES.games cat src/unfinished/CMakeLists.txt | awk '/puzzle\(/{p=1} p{print} /\)/{p=0}' | grep -Eo "\(.*$" | tr -dc "a-z\n" | awk '{print "src/unfinished/"$0".c"}' | grep -v "group" | grep -v "separate" >> SOURCES.games +echo "#endif" >> SOURCES.games cat <> SOURCES.games