use checkbashisms in CI tests
Debian has a very handy tool for checking /bin/sh scripts called checkbashisms. Since Android has historically has only a very minimal /bin/sh, it would be nice to include checkbashisms in the CI tests. Here's what it currently says:
$ checkbashisms app/src/main/scripts/update-binary
possible bashism in app/src/main/scripts/update-binary line 21 (echo -e):
echo -n -e 'ui_print Installing F-DroidPrivilegedExtension...\n' > /proc/self/fd/$2
possible bashism in app/src/main/scripts/update-binary line 37 (should be 'b = a'):
if [ "$system_as_root" == "true" ]; then
possible bashism in app/src/main/scripts/update-binary line 83 (echo -e):
echo -n -e 'ui_print done\n' > /proc/self/fd/$2
possible bashism in app/src/main/scripts/update-binary line 84 (echo -e):
echo -n -e 'ui_print\n' > /proc/self/fd/$2
possible bashism in app/src/main/scripts/update-binary line 86 (echo -e):
echo -n -e 'ui_print Installing F-Droid...\n' > /proc/self/fd/$2
possible bashism in app/src/main/scripts/update-binary line 94 (echo -e):
echo -n -e 'ui_print done\n' > /proc/self/fd/$2
possible bashism in app/src/main/scripts/update-binary line 95 (echo -e):
echo -n -e 'ui_print\n' > /proc/self/fd/$2