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

Windows with git-bash execution fix #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

typekpb
Copy link
Contributor

@typekpb typekpb commented Dec 27, 2019

In windows environment (git-bash), the following command: command -v "$0" returns empty string. Therefor the $_main function is never called. So preventing any further checks, just calling the function with arguments. Not sure whether it could cause regressions to existing usages.

In windows environment (git-bash), the following command: `command -v "$0"` returns empty string. Therefor the `$_main` function is never called. So preventing any further checks, just calling the function with arguments. Not sure whether it could cause regressions to existing usages.
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.

1 participant