Skip to content

Commit

Permalink
fix compile script exiting prematurely
Browse files Browse the repository at this point in the history
the conditional check left $? at 1 which triggered set -e after exiting the loop
  • Loading branch information
programminghoch10 committed Dec 21, 2024
1 parent 7de5773 commit 0654d2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ cut -d$'\t' -f1 <<< "$PATCHES_LIST" | sort -u | while IFS= read -r package; do
#shellcheck disable=SC2016
sed 's/^\(.*\)$/`\1`/' < magiskmodule/packageversions/"$package" | tr '\n' '#' | sed -e '/^$/d' -e 's/#$//' -e 's/#/\n/g' | sed -e 's/^/ - /' >> magiskmodule/supportedversions.md
[ "$(wc -l < magiskmodule/packageversions/"$package")" -gt 0 ] && echo >> magiskmodule/supportedversions.md
true
done

logo/convert.sh
Expand Down

0 comments on commit 0654d2e

Please sign in to comment.