Skip to content

Fix POSIX shell compatibility in send-phonehome script#1517

Merged
gsanchietti merged 2 commits intomy_migrationfrom
copilot/sub-pr-1509-again
Feb 11, 2026
Merged

Fix POSIX shell compatibility in send-phonehome script#1517
gsanchietti merged 2 commits intomy_migrationfrom
copilot/sub-pr-1509-again

Conversation

Copy link

Copilot AI commented Feb 11, 2026

The send-phonehome script uses #!/bin/sh but had a non-POSIX string comparison operator.

Changes

  • Changed == to = in string comparison on line 28 for POSIX compliance
-if [ "$TYPE" == "enterprise" ]; then
+if [ "$TYPE" = "enterprise" ]; then

The = operator is portable across all POSIX shells, while == is a bash-specific extension.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: gsanchietti <804596+gsanchietti@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback from PR #1509 for enterprise portal proxy feature Fix POSIX shell compatibility in send-phonehome script Feb 11, 2026
Copilot AI requested a review from gsanchietti February 11, 2026 10:32
@gsanchietti gsanchietti marked this pull request as ready for review February 11, 2026 10:36
@gsanchietti gsanchietti merged commit 0be0036 into my_migration Feb 11, 2026
@gsanchietti gsanchietti deleted the copilot/sub-pr-1509-again branch February 11, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants