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)
Sat, May 9, 9:25 PM
Unknown Object (File)
Fri, May 8, 11:31 AM
Unknown Object (File)
Wed, May 6, 10:48 PM
Unknown Object (File)
Wed, May 6, 10:13 AM
Unknown Object (File)
Sat, May 2, 11:30 PM
Unknown Object (File)
Thu, Apr 30, 3:28 PM
Unknown Object (File)
Thu, Apr 30, 3:28 PM
Unknown Object (File)
Wed, Apr 29, 8:24 AM
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