Kaynağa Gözat

fix: correct patch command syntax in build kernel action

TheWildJames 3 ay önce
ebeveyn
işleme
4a13f7410b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      .github/actions/build-kernel/action.yml

+ 1 - 1
.github/actions/build-kernel/action.yml

@@ -123,6 +123,6 @@ runs:
       set -euo pipefail
       PATCH_FILE="${{ github.action_path }}/patches/bypass.patch"
       if [ -f "$PATCH_FILE" ]; then
-        patch -d "${{ github.workspace }}/AnyKernel3" -p1 < "$PATCH_FILE"
+        patch -p1 -d "${{ github.workspace }}/AnyKernel3" -p1 < "$PATCH_FILE"
       fi