Task · BBI-0004

Silence the two SC2086 hits in installer.sh — do NOT quote them

Status
To Do
Labels
chore, shell
Updated
2026-08-14

Description

shellcheck src/endpoint/*.sh src/intune/*.sh is clean except for two info-level SC2086 findings, at src/intune/installer.sh:322 and :326, both on $PROJECT_ROOTS.

The obvious fix is wrong and would break the deployment. Line 72 sets PROJECT_ROOTS="/Users/*/repos" — the word splitting and glob expansion that SC2086 warns about are exactly what the variable is for. Quoting it passes the literal string /Users/*/repos to launchd, and every project-root scan silently finds nothing. This is a silent-total-loss-of-detection failure, the same class the catalog-select test exists to prevent.

The correct change is an explicit # shellcheck disable=SC2086 carrying the reason, so the next reader does not reach for the quotes either. Needed before shellcheck can be a CI gate that fails on findings.

Acceptance Criteria

Definition of Done

View the source file on GitHub