[Webkit-unassigned] [Bug 244184] New: [GLIB] aptIfExists always returns exit status code 0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 22 01:55:03 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=244184

            Bug ID: 244184
           Summary: [GLIB] aptIfExists always returns exit status code 0
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dpino at igalia.com

Reported by Andrew Sutherland at https://github.com/WebKit/WebKit/pull/1323#discussion_r950626647

Function `aptIfExists` from script `Tools/glib/dependencies/atk` always return exist status code 0 since in Bash a declaration of variable that is inmediately assigned is always successful.

This error makes the script `Tools/gtk/install-depedencies` fail in systems that cannot provide a package wrapped in `aptIfExists` statement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220822/99b96e7f/attachment.htm>


More information about the webkit-unassigned mailing list