#!/bin/sh

# Verify that rewritemeta has been run.

set -e

files=$(fdroid rewritemeta -l)

if [[ -n "$files" ]]; then
	echo "Run fdroid rewritemeta to fix formatting on these files:"
	echo "$files"
	exit 1
fi

exit 0

#!/bin/bash

# Verify that rewritemeta has been run.

set -e

files=$(fdroid rewritemeta -l)

if [[ -n "$files" ]]; then
	echo "Run fdroid rewritemeta to fix formatting on these files:"
	echo "$files"
	exit 1
fi

exit 0

Use bash for verify script
Use bash for verify script
