fdroid lint: escape % for printf

This commit is contained in:
linsui 2024-09-26 20:53:39 +08:00 committed by Licaon_Kter
parent 5926e90ee6
commit 914a8b3a8c

View file

@ -150,7 +150,7 @@ fdroid lint:
printf "\nThese files have lint issues:\n";
git diff --name-only;
printf "\nThese are the formatting issues:\n";
printf "$(git --no-pager diff --color=always --ws-error-highlight=all | sed 's/\r/^M/')";
printf "$(git --no-pager diff --color=always --ws-error-highlight=all | sed -e 's/\r/^M/' -e 's/%/%%/g')";
}
fi
- exit $EXITVALUE