Jelajahi Sumber

ci(workflows): refine SUSFS patch application logic in build workflow

Update the build workflow to enhance the patch application process for SUSFS by correcting the file path syntax and variable naming. This change improves clarity and consistency in the handling of patch files, ensuring a more reliable build process.
TheWildJames 9 bulan lalu
induk
melakukan
f767e47d04
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      .github/workflows/build.yml

+ 3 - 3
.github/workflows/build.yml

@@ -298,9 +298,9 @@ jobs:
             patch -p1 < fix_kernel_compat.c.patch
             ;;
           Next)
-            cp "$KERNEL_PATCHES/next/susfs_fix_patches/v${SUSFS_VERSION}/*" ./
-            for patch in ./*.patch; do
-              patch -p1 < "$patch" || true
+            cp "$KERNEL_PATCHES/next/susfs_fix_patches/v${SUSFS_VERSION}/"*.patch ./
+            for p in ./*.patch; do
+              patch -p1 < "$p" || true
             done
             ;;
           KSU)