Page MenuHomeFreeBSD

Use default shell assignment rather more complicated if then construct.
ClosedPublic

Authored by imp on Apr 2 2019, 3:44 PM.
Tags
None
Referenced Files
F160224876: D19797.id55828.diff
Mon, Jun 22, 8:42 AM
F160184010: D19797.id55828.diff
Sun, Jun 21, 11:51 PM
Unknown Object (File)
Fri, Jun 19, 3:40 PM
Unknown Object (File)
Mon, Jun 1, 7:06 AM
Unknown Object (File)
Apr 30 2026, 4:29 AM
Unknown Object (File)
Apr 30 2026, 4:29 AM
Unknown Object (File)
Apr 28 2026, 12:20 PM
Unknown Object (File)
Apr 26 2026, 1:13 PM
Subscribers

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23528
Build 22532: arc lint + arc unit

Event Timeline

emaste added inline comments.
sys/conf/newvers.sh
49

108–109


but this line looks too long?

146

eww

allanjude added inline comments.
sys/conf/newvers.sh
146

This is a pretty common shell construct, I think it is fine.

sys/conf/newvers.sh
108–109

Other lines are longer.

sys/conf/newvers.sh
108–109

Still better to not introduce new >80 col lines though... there are three > 80 cols right now, all of which are awkward to wrap to 80.

146

Agreed, it's fine, I just don't like it :)

Fix line length, per ed.

also move b= to place closer to where it's used.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 7 2019, 6:40 PM
This revision was automatically updated to reflect the committed changes.