pokecrystal-board/tools
Ben10do 2dd2ec97f1
Don’t use GNU extensions when calling sed
Apparently, GNU sed has a few extensions that aren’t supported by the version of BSD sed that currently comes with Macs.

This would cause sort_symfile.sh to fail on macOS, causing the build to appear to fail at the last minute.

Admittedly, I’m not very familiar with sed, but this seems to do the trick on both macOS and Ubuntu.

- The input file must be last in the arguments list.
- The -i option, allowing the same file for input and output, doesn’t appear to be supported. Instead, I’m writing the output to a temporary file, and replacing the original file with that temporary file.
- Apparently ‘\w’ isn’t supported, so I’m simply using ‘.’ instead, as it appears to match “0_ROM0@” etc. just as well.
2018-06-03 16:24:23 +01:00
..
.gitignore Add tools/gfx and tools/md5 to gitignore 2017-06-24 20:46:11 -04:00
common.h fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
compare2.sh Move old baserom.gbc 'compare' scripts to tools/ 2017-12-15 20:12:00 -05:00
compare.sh Move old baserom.gbc 'compare' scripts to tools/ 2017-12-15 20:12:00 -05:00
gfx.c fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
lzcomp.c fix warnings in lzcomp and md5 2017-09-24 01:07:08 -04:00
Makefile rebuild gfx and md5 when common.h changes 2017-12-28 01:25:46 -05:00
md5.c fix warnings in lzcomp and md5 2017-09-24 01:07:08 -04:00
palette.c fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
png_dimensions.c fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
pokemon_animation_graphics.c fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
pokemon_animation.c fix unused fread return value warnings 2017-12-28 01:25:25 -05:00
scan_includes.c Fix scan_includes matching the word "include" in strings. 2018-03-10 18:20:31 -05:00
sort_symfile.sh Don’t use GNU extensions when calling sed 2018-06-03 16:24:23 +01:00
toc.py Fix file permissions 2018-04-01 17:05:10 +02:00