Fixes: command_available can run 'type'. #16

Merged
merged 1 commit into from Nov 4, 2012

Conversation

Projects
None yet
2 participants
Contributor

funollet commented Nov 1, 2012

'type' is a Bash builtin in most Linux distros. %x expects a command (a
file) to run, so fails to run the builtin.

The fix runs 'type' inside a shell.

Fixes: command_available can run 'type'.
'type' is a Bash builtin in most Linux distros. %x expects a command (a
file) to run, so fails to run the builtin.
Owner

oscardelben commented Nov 4, 2012

Thanks. Pushing to Rubygems soon

oscardelben added a commit that referenced this pull request Nov 4, 2012

Merge pull request #16 from funollet/master
Fixes: command_available can run 'type'.

@oscardelben oscardelben merged commit 99137a9 into oscardelben:master Nov 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment