Page MenuHomeDevCentral

Improve Arcanist shell scripts
ClosedPublic

Authored by dereckson on Oct 25 2017, 02:34.
Tags
None
Referenced Files
F13366728: D1118.id2854.diff
Fri, Nov 21, 20:53
Unknown Object (File)
Wed, Nov 19, 01:21
Unknown Object (File)
Sat, Nov 15, 01:25
Unknown Object (File)
Tue, Nov 11, 16:40
Unknown Object (File)
Sat, Nov 1, 13:07
Unknown Object (File)
Thu, Oct 30, 17:17
Unknown Object (File)
Sun, Oct 26, 18:24
Unknown Object (File)
Oct 21 2025, 06:02
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.