Skip to content

Commit

Permalink
contrib: qt: fix string comparison
Browse files Browse the repository at this point in the history
-eq is for comparing integers and prints errors like:

install_wrapper.sh: 27: [: Illegal number: imageformats
  • Loading branch information
JohannesKauffmann authored and robUx4 committed Sep 12, 2022
1 parent a12187e commit ec67217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/src/qt/install_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
pkgconfigdir="$(cd "$(dirname "${DEST}")" && pwd -P)"

# Filter packages installed in a pkgconfig/ folder
if [ "$(basename "${pkgconfigdir}")" -eq "pkgconfig" ]; then
if [ "$(basename "${pkgconfigdir}")" = "pkgconfig" ]; then
exit 0
fi

Expand Down

0 comments on commit ec67217

Please sign in to comment.