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

ENV/scm/git: only execute file #493

Merged
merged 1 commit into from
Jul 11, 2016
Merged

ENV/scm/git: only execute file #493

merged 1 commit into from
Jul 11, 2016

Conversation

xu-cheng
Copy link
Member

Fixes #491.

@BrewTestBot BrewTestBot added the in progress Maintainers are working on this label Jul 11, 2016
@MikeMcQuaid
Copy link
Member

👍

@xu-cheng xu-cheng merged commit 842862c into Homebrew:master Jul 11, 2016
@xu-cheng xu-cheng deleted the scm branch July 11, 2016 14:33
@BrewTestBot BrewTestBot removed the in progress Maintainers are working on this label Jul 11, 2016
@UniqMartin
Copy link
Contributor

Thanks for the quick fix! One of the less intuitive features of *NIX that a check for an executable file needs to be executable? && !directory? … I've probably made this mistake more than once.

@xu-cheng
Copy link
Member Author

@UniqMartin You mean I should use executable? && !directory? instead of executable? && file?? May I ask what is the difference?

Also you should take a look at #496

@UniqMartin
Copy link
Contributor

You mean I should use executable? && !directory? instead of executable? && file?? May I ask what is the difference?

No, executable? && file? should be equally fine (or even preferable). I had already forgotten what you used in the code when I wrote my comment. Sorry for possibly causing confusion!

Also you should take a look at #496

Eventually I will, but I'm a bit short on time at the moment and I'm still in the process of working my way through my backlog of GitHub notifications …

souvik1997 pushed a commit to souvik1997/brew that referenced this pull request Jul 25, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants