Explorar el Código

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 hace 9 meses
padre
commit
f767e47d04
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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)