ai/at
1
0

fix patch cmd

This commit is contained in:
2025-12-07 14:23:14 +09:00
parent 5b2255b3f6
commit 0564f93ad8
7 changed files with 42 additions and 12 deletions

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 ""