FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix shebang in bin/build.sh by sorki · Pull Request #438 · betaflight/betaflight-tx-lua-scripts · GitHub

fix shebang in bin/build.sh - #438

Merged
haslinghuis merged 1 commit into
betaflight:masterfrom
sorki:shebang
Jun 2, 2022
Merged

haslinghuis merged 1 commit into
betaflight:masterfrom
sorki:shebang

Conversation

sorki commented May 31, 2022

Copy link
Copy Markdown
Contributor

Using env is a more portable approach.

Using env is a more portable approach.

Copy link
Copy Markdown
Member

Good find. But not sure if we need anything to fix.

https://stackoverflow.com/questions/21612980/why-is-usr-bin-env-bash-superior-to-bin-bash

sorki commented Jun 1, 2022

Copy link
Copy Markdown
Contributor Author

I found it by cloning the repo and trying to run make to test vs betaflight 4.3. My distro (NixOS) doesn't have /bin/bash (not even /usr/bin/bash) so we need to use env. The change is pretty harmless and should work everywhere.

haslinghuis self-assigned this Jun 2, 2022
haslinghuis merged commit 0d9f8f4 into betaflight:master Jun 2, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL