Răsfoiți Sursa

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 luni în urmă
părinte
comite
f767e47d04
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  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)