fdroiddata/tools/verify-rewritemeta.sh

16 lines
220 B
Bash
Raw Normal View History

2015-09-25 11:11:49 +00:00
#!/bin/bash
2015-09-12 01:16:14 +00:00
# Verify that rewritemeta has been run.
set -e
files=$(fdroid rewritemeta -l)
2015-09-12 01:16:14 +00:00
if [[ -n "$files" ]]; then
echo "Run fdroid rewritemeta to fix formatting on these files:"
echo "$files"
exit 1
2015-09-12 01:16:14 +00:00
fi
exit 0