Skip to content

Commit

Permalink
build: Pass shellchecks
Browse files Browse the repository at this point in the history
Signed-off-by: Saalim Quadri <[email protected]>
  • Loading branch information
danascape committed Mar 2, 2024
1 parent 19a8d18 commit d723711
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ do_anykernel()
log_info "sworkflow: AK3 already present"
log_info "warning: Skipping Clone"
else
git clone -b $branch $ANYKERNEL_LINK --depth=1 AnyKernel3
git clone -b "$branch" "$ANYKERNEL_LINK" --depth=1 AnyKernel3
fi
cd AnyKernel3/
cd AnyKernel3/ || log_error "error: Directory not Found"
make clean
cp -r ../out/dist/* ./
make
Expand Down Expand Up @@ -246,7 +246,7 @@ kernel_build()
if [[ -n "$do_anykernel" ]]; then
if [[ -n "$anykernel_branch" ]]; then
log_info "sworkflow: Cloning Anykernel3"
do_anykernel $anykernel_branch
do_anykernel "$anykernel_branch"
else
log_error "error: Define Anykernel Branch!"
log_error "error: Check Documentation for more"
Expand Down

0 comments on commit d723711

Please sign in to comment.