Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Bash 3.2 #1149

Merged
merged 1 commit into from
May 19, 2022
Merged

Support Bash 3.2 #1149

merged 1 commit into from
May 19, 2022

Conversation

basil
Copy link
Member

@basil basil commented May 19, 2022

The -v operator to check if a name has been set to a value requires Bash 4.2 or newer. Macs still ship with Bash 3.2. This PR makes these scripts usable on Macs by switching to an older syntax. The use of the dash is explained in the "Rewriting scripts to deal with it" section of Bash FAQ #112.

@basil basil added the internal label May 19, 2022
@jetersen jetersen enabled auto-merge (squash) May 19, 2022 17:04
@jetersen jetersen merged commit 4a069fa into jenkinsci:master May 19, 2022
@basil basil deleted the bom branch May 19, 2022 18:49
@MarkEWaite MarkEWaite added chore Reduces future maintenance and removed internal labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Reduces future maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants