Plugin: Rake-fast: Support both *nix and Darwin #2658

Merged
merged 1 commit into from Mar 28, 2014

Conversation

Projects
None yet
4 participants
Contributor

leifcr commented Mar 25, 2014

Syntax for stat is different on *nix and Darwin (BSD)

BSD syntax:
http://www.freebsd.org/cgi/man.cgi?query=stat&sektion=1&n=1

Darwin Syntax:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/stat.1.html

*nix syntax:
http://linux.die.net/man/1/stat

This pull request makes rake-fast work on both *nix and bsd platforms.

Contributor

KevinBongart commented Mar 25, 2014

Thanks @leifcr for catching that and proposing a fix :)

I can confirm this still works on OS X (I don't have a Linux machine around to test)

Contributor

leifcr commented Mar 25, 2014

Thanks for testing :-)

Collaborator

mcornella commented Mar 25, 2014

Don't have rake but the syntax for Linux is the right one. Good to merge 👍

@KevinBongart KevinBongart referenced this pull request in supercrabtree/k Mar 28, 2014

Closed

what version of stat do you use ? #5

robbyrussell added a commit that referenced this pull request Mar 28, 2014

Merge pull request #2658 from leifcr/rake-fast-issue
Plugin: Rake-fast: Support both *nix and Darwin

@robbyrussell robbyrussell merged commit 861d380 into robbyrussell:master Mar 28, 2014

Contributor

leifcr commented Mar 28, 2014

Thanks

w31 pushed a commit to w31/oh-my-zsh that referenced this pull request Apr 30, 2014

Merge pull request #2658 from leifcr/rake-fast-issue
Plugin: Rake-fast: Support both *nix and Darwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment