#998773 apertium-oc-ca: bashism in configure script

#998773#5
Date:
2021-11-07 19:30:12 UTC
From:
To:
Hi,

Your package uses configure script with bash features not present in
POSIX without explicitly declaring the need to bash shell; this
currently works as configure scripts select bash, but when dash enables
LINENO support, your configure script will start failing:

     ./configure: 2946: test: =: unexpected operator
     checking that generated files are newer than configure... done
     configure: creating ./config.status
     config.status: creating Makefile
     config.status: creating config

To test this, you can install dash from experimental and re-run the
configure script.

Please replace non-POSIX features with their equivalents to make sure
the script runs with dash. Most common ones are usage of == instead of =
and for with arrays (not lists).