Browse Source

ci: fix incorrect bash argument in KernelSU setup script

The script was missing the required '-s dev-susfs' argument when calling the pershoot KernelSU setup, which could cause incorrect behavior. This ensures the proper branch is used during setup.
TheWildJames 8 months ago
parent
commit
888da265aa
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/build.yml

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

@@ -198,10 +198,10 @@ jobs:
             fi
             ;;
           Next)
-            if [ ${{ inputs.ksu_commit }} == "wild" ]; then
+            if [ "${{ inputs.ksu_commit }}" == "wild" ]; then
               curl -LSs "https://raw.githubusercontent.com/WildKernels/KernelSU-Next/wild/kernel/setup.sh" | bash -s wild
-            elif [ ${{ inputs.ksu_commit }} == "pershoot" ]; then
-              curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -
+            elif [ "${{ inputs.ksu_commit }}" == "pershoot" ]; then
+              curl -LSs "https://raw.githubusercontent.com/pershoot/KernelSU-Next/dev-susfs/kernel/setup.sh" | bash -s dev-susfs
               cd KernelSU-Next
               #git restore --source=5aad87b3c6319330d6991ba4c937e44e50fe16f5^ -- kernel/Kbuild
             elif [ -n "${{ inputs.ksu_commit }}" ]; then