Page MenuHomeFreeBSD

Improve implementation of install-missing-packages
ClosedPublic

Authored by 0mp on Feb 6 2020, 9:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 6, 2:08 PM
Unknown Object (File)
Thu, Dec 26, 6:25 PM
Unknown Object (File)
Wed, Dec 25, 2:22 PM
Unknown Object (File)
Dec 3 2024, 4:56 AM
Unknown Object (File)
Nov 30 2024, 10:34 AM
Unknown Object (File)
Nov 25 2024, 7:54 PM
Unknown Object (File)
Nov 25 2024, 12:03 AM
Unknown Object (File)
Nov 24 2024, 11:18 AM
Subscribers

Details

Reviewers
mat
Group Reviewers
O5: Ports Framework(Owns No Changed Paths)
portmgr
Commits
rP525388: Improve implementation of install-missing-packages
Summary
Improve implementation of install-missing-packages

As suggested by mat@ in D23484, let's use a proper if statement here instead of
short-circuits operators.
Test Plan

Run make install-missing-packages in:

  • a port which has all the dependencies already installed
  • a port which is still missing some dependencies

Try all the above scenarios with the default SU_CMD and with SU_CMD= /usr/local/bin/sudo -E sh -c.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29203
Build 27130: arc lint + arc unit

Event Timeline

Mk/bsd.port.mk
4336

Ah, no, I knew I saw something I did not like. Quote what you pass to echo.

$$(${ECHO} "$${_dirs}"
0mp planned changes to this revision.Feb 6 2020, 4:07 PM
0mp added inline comments.
Mk/bsd.port.mk
4336

I should also use "ECHO_CMD" instead, right?

Mk/bsd.port.mk
4336

yes

This revision was not accepted when it landed; it landed in state Changes Planned.Feb 6 2020, 4:44 PM
This revision was automatically updated to reflect the committed changes.