Debian Codegraph @

other/event_tooling/run

raw
1 #!/bin/sh
2
3 set -eux
4 BUILD=events
5 docker build -t "toxchat/c-toxcore:$BUILD" "other/event_tooling"
6 docker run --rm -v "$PWD/toxcore/events:/src/out" -t "toxchat/c-toxcore:$BUILD"
7 sed -i -e 's/, uint16_t length,/, size_t length,/' toxcore/events/file_chunk_request.c
8 sed -i -e 's/^ 0/ TOX_CONNECTION_NONE/' toxcore/events/self_connection_status.c