colorwrap/make/genbuildno.sh

4 lines
113 B
Bash
Executable File

#!/bin/sh
sed -i "s/BUILD .*/BUILD $(($(grep BUILD include/config.h | cut -d' ' -f3) + 1 ))/g" include/config.h