[X2Go-Commits] [x2goclient] 01/01: x2goclient.pro: fix quoting issue in system() call.

git-admin at x2go.org git-admin at x2go.org
Wed Oct 31 06:19:48 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit f78a992007e9def21aa712364d8913f0699bb992
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Oct 31 06:17:21 2018 +0100

    x2goclient.pro: fix quoting issue in system() call.
    
    Qmake's quoting rules are really weird.
---
 debian/changelog | 2 ++
 x2goclient.pro   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 894d215..aab4095 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,8 @@ x2goclient (4.1.2.2-0x2go1) UNRELEASED; urgency=medium
     - x2goclient.pro: fix qmake control flow for libssh logic, we really
       wanted to use else if for the Windows section and have the general else
       section being the general fallback.
+    - x2goclient.pro: fix quoting issue in system() call. Qmake's quoting
+      rules are really weird.
   * debian/control:
     - Add build-depend on pkg-config.
 
diff --git a/x2goclient.pro b/x2goclient.pro
index bfdc5a8..e224d0a 100644
--- a/x2goclient.pro
+++ b/x2goclient.pro
@@ -141,7 +141,7 @@ unix {
 
     # Failure to find libssh_threads is non-fatal, since newer libssh versions
     # don't ship a separate library any longer.
-    system($$PKG_CONFIG --exists "libssh < 0.8.0"):PKGCONFIG += libssh_threads
+    system("$$PKG_CONFIG --exists 'libssh < 0.8.0'"):PKGCONFIG += libssh_threads
   }
   else {
     # No pkgconfig stuff, because... for some reason we wanted to call the

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list