Skip to content

Ensure bash shebang lines are portable#53

Merged
kzadorozhny merged 1 commit intoadobe:masterfrom
AleksanderGondek:issue-52-rules-should-use-usr-bin-env-bash
Jan 29, 2021
Merged

Ensure bash shebang lines are portable#53
kzadorozhny merged 1 commit intoadobe:masterfrom
AleksanderGondek:issue-52-rules-should-use-usr-bin-env-bash

Conversation

@AleksanderGondek
Copy link
Copy Markdown
Contributor

@AleksanderGondek AleksanderGondek commented Jan 29, 2021

This commit ensures all instances of bash shebang line are utilizing portable /usr/bin/env bash, allowing for greater portability of the rules_gitops

Related Issue

Fixed #52

Motivation and Context

I would like to commit upstream changes which made it possible to run adobe rules_gitops on Linux OS'es which do not have /bin/bash executable.

How Has This Been Tested?

I have been using patched (in same manner like in this commit) rules_gitops in my projects.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@AleksanderGondek AleksanderGondek requested a review from a team as a code owner January 29, 2021 20:50
@AleksanderGondek AleksanderGondek force-pushed the issue-52-rules-should-use-usr-bin-env-bash branch from 8079e42 to a2e3483 Compare January 29, 2021 20:55
This commit ensures all instances of bash shebang line are utilizing portable '/usr/bin/env bash', allowing for greater portability of the rules_gitops
@AleksanderGondek AleksanderGondek force-pushed the issue-52-rules-should-use-usr-bin-env-bash branch from a2e3483 to 43470c3 Compare January 29, 2021 21:11
Copy link
Copy Markdown
Member

@kzadorozhny kzadorozhny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution.

@AleksanderGondek
Copy link
Copy Markdown
Contributor Author

Thank you for open-sourcing this awesome rules :)

@kzadorozhny kzadorozhny merged commit 285af1c into adobe:master Jan 29, 2021
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.

Rules should use /usr/bin/env bash instead of /bin/bash

2 participants