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

Fix/illegal cp flag #47

Closed
wants to merge 1 commit into from
Closed

Fix/illegal cp flag #47

wants to merge 1 commit into from

Conversation

cookrn
Copy link

@cookrn cookrn commented Oct 23, 2010

Check out the commit message. I couldn't think of any reason why not to use rsync in this case since the usage of the -u flag replicates cp functionality.

Started this which I'll add actual tests to as I have time :: http://github.com/cookrn/geddy-gen_tests

… utilizing rsync, which both *nixes should have, gives access to the -u flag that acts in the same manner as "cp -u" would.

http://stackoverflow.com/questions/1132508/how-to-emulate-cp-update-behavior-on-mac-os-x
@mde
Copy link
Contributor

mde commented Nov 5, 2010

I don't think we want to assume everybody has rsync installed. We'll just dispense with the -u flag completely, and overwrite blindly. This is okay behavior, since it's safe to assume people have their app source under revision control. I applied a patch that fixes this in c0d03e3, and pushed. Thanks!

This pull request was closed.
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.

None yet

2 participants