diff options
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/plugins/puzzles/genhelp.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/puzzles/genhelp.sh b/apps/plugins/puzzles/genhelp.sh index d6c4cc3e94..9aa304c0c1 100755 --- a/apps/plugins/puzzles/genhelp.sh +++ b/apps/plugins/puzzles/genhelp.sh | |||
@@ -87,8 +87,8 @@ do | |||
87 | mv $f.tmp $f | 87 | mv $f.tmp $f |
88 | done | 88 | done |
89 | 89 | ||
90 | # generate quick help from gamedesc.txt | 90 | # generate quick help from all the .R files |
91 | cat src/gamedesc.txt | awk -F ":" '{print "const char quick_help_text[] = \""$5"\";" >> "help/"$1".c" }' | 91 | cat src/*.R | awk 'print_next { print_next = 0; print; } /!begin/ && />/ && /gamedesc.txt/ { print_next = 1; }' | awk -F ":" '{print "const char quick_help_text[] = \""$5"\";" >> "help/"$1".c" }' |
92 | 92 | ||
93 | rm puzzles.txt | 93 | rm puzzles.txt |
94 | rm compress | 94 | rm compress |