WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
279442
[GLIB] 'aptIfElse' should print out alternative package only if it exits
https://bugs.webkit.org/show_bug.cgi?id=279442
Summary
[GLIB] 'aptIfElse' should print out alternative package only if it exits
Diego Pino
Reported
2024-09-10 06:48:19 PDT
Function 'aptIfElse' evaluates whether a package exits and in case not returns an alternative name, regardless whether that package exits. For instance: ``` $(aptIfElse libgcrypt20-dev libgcrypt11-dev) ``` The code above checks first whether 'libgcrypt20-dev' is a valid package name. In case not, the function returns the alternative package 'libgcrypt11-dev'. This is not correct, since the alternative package many not exist either.
Attachments
Add attachment
proposed patch, testcase, etc.
Diego Pino
Comment 1
2024-09-10 06:51:36 PDT
Pull request:
https://github.com/webkit/webkit/pull/33398
EWS
Comment 2
2024-09-10 23:36:41 PDT
Committed
283467@main
(7f9ab1968785): <
https://commits.webkit.org/283467@main
> Reviewed commits have been landed. Closing PR #33398 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2024-09-10 23:37:15 PDT
<
rdar://problem/135780158
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug