st-custom/build.sh

10 lines
302 B
Bash
Raw Normal View History

#!/bin/sh
cp -f config.mk Makefile patches.h st-flexipatch/
flexipatch-finalizer/flexipatch-finalizer.sh -r -d st-flexipatch -o st-final
2024-02-28 00:50:41 +01:00
git -C st-flexipatch reset --hard HEAD && git -C st-flexipatch clean -fd
for patch in patches/*.diff; do
patch -d st-final <"$patch"
done
cp -f config.h st-final/