Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix symlink arrays for Bash 3 #22559
Yes, you read right, Bash 3. Unfortunately, there is a difference between how Bash 3 and more recent versions handle looping via arrays.
When #22218 was put in, these arrays were changed to a single entry with an empty string, as opposed to an empty array.
The one place where this matters is on Darwin, as it still ships with Bash 3 out of the box, and oc is the one binary you may actually need to build on Darwin.
What happens on Bash 5:
What happens on Bash 3, prior to this PR:
What happens on Bash 3, after this PR:
[APPROVALNOTIFIER] This PR is APPROVED
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing