Page MenuHomeFreeBSD

nanobsd: Normalize style in common functions
AbandonedPublic

Authored by senguptaangshuman17_gmail.com on Wed, Aug 19, 6:30 AM.
Tags
None
Referenced Files
F167651630: D58949.diff
Sun, Aug 23, 1:00 PM
Unknown Object (File)
Sat, Aug 22, 2:29 PM
Unknown Object (File)
Wed, Aug 19, 9:01 AM
Unknown Object (File)
Wed, Aug 19, 8:58 AM
Subscribers

Details

Reviewers
None
Summary

Prefer $(...) over backticks, drop the space before ";" in
conditionals, and normalize sentence-ending punctuation and line
wrapping in comments.

Use printf %s for metalog entries built from path variables so
backslash sequences in paths are printed verbatim.

Collapse the remaining split for loops onto one line to match the
style already used elsewhere in defaults.sh.

Replace sort | uniq with sort -u in setup_nanobsd() and cust_pkgng().

No functional change.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75702
Build 72585: arc lint + arc unit