linux-pikaos-template/scripts/patch.sh
Ward from fusion-voyager-3 3a479a45d8 fix main
2024-07-24 14:00:23 +03:00

9 lines
265 B
Bash
Executable File

#!/bin/bash
echo "Pika Kernel - Applying patches"
if [ -f ../patches/series ]
then
for i in $(cat ../patches/series | grep -v '^#') ; do echo "Applying Patch: $i" && patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2"; done
fi