diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-12-09 21:23:35 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-12-09 21:24:10 -0500 |
commit | 1328464c86a0c83bfbafa21c90c2e786bbe792ff (patch) | |
tree | d57e0189f1673d0573b02cdfa45aaca9f235ac29 | |
parent | d483281fea0f8ebe8bc3a81424ac3ecaef4024b5 (diff) | |
download | rockbox-1328464c86.tar.gz rockbox-1328464c86.zip |
puzzles: Update resync script to work around WIN32 issues
Change-Id: I30a6c674724f683d0a0953f042749001f625f7b2
-rwxr-xr-x | apps/plugins/puzzles/resync.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 <<EOF >> SOURCES.games |