Browse code

Fix qpid support on Fedora.

The new qpid_is_supported function returned the opposite value from what
it was supposed to. It returned success for the platforms where qpid is
not supported.

Change-Id: I0ceaae1dddaa6192657926834c6eb8006925f0cf

Russell Bryant authored on 2012/12/04 00:02:40
Showing 1 changed files
... ...
@@ -1056,7 +1056,7 @@ function qpid_is_supported() {
1056 1056
 
1057 1057
     # Qpid was introduced to Ubuntu in precise, disallow it on oneiric; it is
1058 1058
     # not in openSUSE either right now.
1059
-    [[ "$DISTRO" = "oneiric" ]] || is_suse
1059
+    ( ! ([[ "$DISTRO" = "oneiric" ]] || is_suse) )
1060 1060
     return $?
1061 1061
 }
1062 1062