Fix string comparison in Debian build script (#2409)

This commit is contained in:
Michel Le Bihan 2024-02-21 03:13:20 +01:00 committed by GitHub
parent 4efdb7208f
commit 1d34947ee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@ if [ -z "${ARCH}" ]; then
ARCH="$(dpkg --print-architecture)" ARCH="$(dpkg --print-architecture)"
fi fi
if [ "${ARCH}" != "$(dpkg --print-architecture)" ]; then if [[ "${ARCH}" != "$(dpkg --print-architecture)" ]]; then
echo "${ARCH} != $(dpkg --print-architecture), cross-compiling!" echo "${ARCH} != $(dpkg --print-architecture), cross-compiling!"
export PKG_CONFIG_ALLOW_CROSS=1 export PKG_CONFIG_ALLOW_CROSS=1
else else