Page MenuHomeDevCentral

Improve Arcanist shell scripts
ClosedPublic

Authored by dereckson on Oct 25 2017, 02:34.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 31, 18:21
Unknown Object (File)
Sun, Mar 29, 20:30
Unknown Object (File)
Sun, Mar 29, 07:46
Unknown Object (File)
Fri, Mar 27, 18:54
Unknown Object (File)
Wed, Mar 25, 15:57
Unknown Object (File)
Mon, Mar 23, 19:37
Unknown Object (File)
Sat, Mar 21, 12:50
Unknown Object (File)
Thu, Mar 19, 20:17
Subscribers
None

Details

Summary

Fixes suggested by shellcheck:

  • use $() instead of deprecated ``
  • avoid cat when pipelines can be used
  • quote variables
Test Plan

shellcheck

Diff Detail

Repository
rWK Wynter Kitro utilities
Lint
Lint Passed
SeverityLocationCodeMessage
Advicearcanist/arc-paste-file.sh:16SC2094SHELLCHECK
Advicearcanist/arc-paste-file.sh:16SC2094SHELLCHECK
Unit
No Test Coverage
Branch
shellcheck (branched from master)
Build Status
Buildable 1760
Build 2008: arc lint + arc unit

Event Timeline

We're sure it only reads.

This revision is now accepted and ready to land.Oct 25 2017, 02:35
This revision was automatically updated to reflect the committed changes.