Bläddra i källkod

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 månader sedan
förälder
incheckning
f767e47d04
1 ändrade filer med 3 tillägg och 3 borttagningar
  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)