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

qa/workunits/rbd: use POSIX function definition #8068

Closed
wants to merge 1 commit into from

Conversation

smithfarm
Copy link
Contributor

In scripts with /bin/sh shebang, we must use POSIX function definitions to
avoid syntax errors on platforms that link /bin/sh to something other than
/bin/bash.

See https://wiki.ubuntu.com/DashAsBinSh#function for more information.

http://tracker.ceph.com/issues/15104 Fixes: #15104

Signed-off-by: Nathan Cutler ncutler@suse.com

In scripts with /bin/sh shebang, we must use POSIX function definitions to
avoid syntax errors on platforms that link /bin/sh to something other than
/bin/bash.

See https://wiki.ubuntu.com/DashAsBinSh#function for more information.

http://tracker.ceph.com/issues/15104 Fixes: ceph#15104

Signed-off-by: Nathan Cutler <ncutler@suse.com>
@smithfarm
Copy link
Contributor Author

@dillaman @jdurgin Please review.

jdurgin added a commit that referenced this pull request Mar 12, 2016
qa/workunits/rbd: use POSIX function definition

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
@jdurgin
Copy link
Member

jdurgin commented Mar 12, 2016

Nice explanation in the commit message. Merged to master (jewel will keep getting reset to master next week).

@jdurgin jdurgin closed this Mar 12, 2016
@smithfarm smithfarm deleted the wip-15104 branch March 12, 2016 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants