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

Add missing shebang to the demo Electron app #414

Merged
merged 1 commit into from
Jun 8, 2020
Merged

Add missing shebang to the demo Electron app #414

merged 1 commit into from
Jun 8, 2020

Conversation

bogdanbarna
Copy link
Contributor

Description

npm_install.sh cannot execute successfully without a bash/shell shebang at the beginning of the script.
This change adds the missing shebang to the demo Electron app.

Questions

I did not find a CONTRIBUTING md file, I apologize if this PR should've been done differently.

Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

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

Running sh npm_install.sh worked fine for me, this script only uses export and ~ which should both be supported? Are you running it in a non-POSIX shell or something? This should probably be on sh not bash if so.

`npm_install.sh` cannot execute successfully without a bash/shell shebang (https://en.wikipedia.org/wiki/Shebang_(Unix)) at the beginning of the script.
This change adds the missing shebang.
@Tyriar Tyriar added this to the 0.10.0 milestone Jun 8, 2020
@Tyriar Tyriar merged commit 3d640e0 into microsoft:master Jun 8, 2020
@bogdanbarna
Copy link
Contributor Author

Running sh npm_install.sh worked fine for me, this script only uses export and ~ which should both be supported? Are you running it in a non-POSIX shell or something? This should probably be on sh not bash if so.

Thanks for the response. sh is better than bash; changed that.

I added the shebang for consistency mainly, as the script is executable and that's how it's presented in the README as well.

@bogdanbarna bogdanbarna deleted the patch-1 branch June 8, 2020 13:47
xiaobaidadada pushed a commit to xiaobaidadada/node-pty-prebuilt that referenced this pull request Feb 25, 2025
Add missing shebang to the demo Electron app
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.

2 participants