Files
ops-Gazelle/bin/local-patch
2025-05-23 14:33:24 +02:00

10 lines
224 B
Bash
Executable File

#! /bin/sh
set -eu
for patch in $(find "$(dirname "$0")"/../misc/patch/ -name "*.patch" -print)
do
# idempotent: ignore if a patch has been already applied
patch -p1 -f -r - -s < "$patch" 2> /dev/null || true
done