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

Fix expanding shell script position parameters with nounset enabled #895

Merged
merged 1 commit into from
Jun 29, 2016
Merged

Fix expanding shell script position parameters with nounset enabled #895

merged 1 commit into from
Jun 29, 2016

Conversation

vutny
Copy link
Contributor

@vutny vutny commented Jun 29, 2016

What does this PR do?

Fixes bootsrapping on RHEL systems family release 5.X with bash version ~ 3.2.
It fails if calling bootstrap script without any arguments at all.

What issues does this PR fix or reference?

Resolves #894.

Previous Behavior

# curl -s -L https://bootstrap.saltstack.com | sh
sh: line 25: *: unbound variable

New Behavior

Bootstrap script works.

Tests written?

No

@rallytime rallytime merged commit 5d9ede8 into saltstack:develop Jun 29, 2016
@vutny vutny deleted the fix-rhel5-shell-expansion branch June 30, 2016 07:12
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.

error running stable script on OEL 5
2 participants