ai/at
1
0

add patch option

This commit is contained in:
2025-12-07 14:54:23 +09:00
parent 5b2255b3f6
commit c2d7a2b2e5

View File

@@ -46,7 +46,7 @@ function apply-patch() {
pushd ${target_dir} > /dev/null
# Check if patch is already applied (reverse dry-run succeeds)
if patch --dry-run -p1 -R < ${patch_file} > /dev/null 2>&1; then
if patch -f --dry-run -p1 -R < ${patch_file} > /dev/null 2>&1; then
echo "✅ Already applied - skipping"
popd > /dev/null
echo ""