Browse Source

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 months ago
parent
commit
f767e47d04
1 changed files with 3 additions and 3 deletions
  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)