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

luaver should not be executable (reversing #34) #51

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

umireon
Copy link
Contributor

@umireon umireon commented Aug 16, 2017

Making ./luaver executable (#34), which was my PR, revealed to cause various problems.

First, that change shows the help text unexpectedly, for instance:
https://travis-ci.org/DhavalKapil/luaver/jobs/264895203#L412

Second, combined commands like . /path/to/luaver && luaver install does not works in expected way.
Homebrew/homebrew-core#16839 (comment)

Solving these problems are hard because there are no easy ways to tell if the script was sourced or directly-executed.

In conclusion, I apologize for my carelessness and my fault, 🙇 but #34 should be reversed 😿.
Since ./luaver should not be directly-executed, executable permission flag should also be dropped.

@umireon umireon mentioned this pull request Jun 19, 2020
@umireon umireon mentioned this pull request Aug 10, 2020
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