[vlc-commits] [Git][videolan/vlc][master] contrib: qt: fix string comparison

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Sep 12 06:04:51 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
ec672174 by Johannes Kauffmann at 2022-09-12T04:59:12+00:00
contrib: qt: fix string comparison

-eq is for comparing integers and prints errors like:

install_wrapper.sh: 27: [: Illegal number: imageformats

- - - - -


1 changed file:

- contrib/src/qt/install_wrapper.sh


Changes:

=====================================
contrib/src/qt/install_wrapper.sh
=====================================
@@ -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
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ec6721742c068dd6b1c2bf18421ac176e1b348ba

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ec6721742c068dd6b1c2bf18421ac176e1b348ba
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list