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

Change the run-ab-platform.sh script to support other shells than bash #33554

Merged
merged 4 commits into from
Dec 19, 2023

Conversation

nhuray
Copy link
Contributor

@nhuray nhuray commented Dec 16, 2023

What

This is small PR to remove the use of the bash specific variable BASH_SOURCE in the run-ab-platform.sh script in order to make it run on other shells than bash (tested on fish)

How

After reading that explanation on Stackoverflow, I just changed the variable ${BASH_SOURCE} to use ${0}

Changing it allows to run the script on fish shell.

Before:

Screenshot 2023-12-15 at 9 12 56 PM

After:

Screenshot 2023-12-15 at 9 13 29 PM

Copy link

vercel bot commented Dec 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Dec 16, 2023 2:15am

@marcosmarxm
Copy link
Member

Thanks for the contribution @nhuray I asked the team to make a review to the change as my shell script skill are good enough 📟

@cpdeethree
Copy link
Contributor

Tested this locally and it works fine on my end!

LGTM 👍

@cpdeethree cpdeethree merged commit 2e07d7e into airbytehq:master Dec 19, 2023
10 checks passed
@nhuray
Copy link
Contributor Author

nhuray commented Dec 20, 2023

@cpdeethree Thanks for merging that small PR.

jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants