Page MenuHomeFreeBSD

genassym.sh: Fix two minor issues found by shellcheck
ClosedPublic

Authored by imp on Jul 28 2021, 5:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 3, 11:07 AM
Unknown Object (File)
Nov 11 2024, 2:45 PM
Unknown Object (File)
Nov 11 2024, 12:59 PM
Unknown Object (File)
Oct 2 2024, 10:51 PM
Unknown Object (File)
Sep 21 2024, 3:53 PM
Unknown Object (File)
Sep 18 2024, 12:59 PM
Unknown Object (File)
Sep 18 2024, 9:44 AM
Unknown Object (File)
Sep 6 2024, 9:20 PM
Subscribers
None

Details

Summary

o Remove redunant $ in $(( )) expression.
o Quote arg passed to work so paths with spaces, etc will work.

Sponsored by: Netflix

Test Plan

based on feedback from shellcheck and the genoffset.sh review, I've tweaked this

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable