Page MenuHomeDevCentral

Improve Arcanist shell scripts
ClosedPublic

Authored by dereckson on Oct 25 2017, 02:34.
Tags
None
Referenced Files
F5423738: D1118.id2853.diff
Mon, Mar 10, 02:38
F5423157: D1118.id2854.diff
Mon, Mar 10, 00:49
F5422955: D1118.diff
Sun, Mar 9, 23:13
Unknown Object (File)
Fri, Feb 21, 15:09
Unknown Object (File)
Sun, Feb 16, 19:07
Unknown Object (File)
Mon, Feb 10, 16:33
Unknown Object (File)
Sun, Feb 9, 05:01
Unknown Object (File)
Sun, Feb 9, 05:01
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 Not Applicable
Unit
Tests Not Applicable

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.