fetch from array of URLs, remove src dir on fail #30

Closed
wants to merge 8 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

welwood08 commented Dec 2, 2011

This is mainly to clean up the empty src directory when fetch fails (otherwise nave_has wrongly determines the source is available on subsequent runs).

I figured I might as well learn how to use arrays at the same time. Also added -f to curl command so it shows "curl: (22) The requested URL returned error: 404" rather than showing progress and passing the 404 page off to tar.

Owner

isaacs commented Dec 14, 2011

Don't suppose you'd be interested in rebasing this on master?

Contributor

welwood08 commented Dec 14, 2011

I hope I did that right, there was far too much hair-pulling and swearing to learn how to do that for the first time! :p

Contributor

welwood08 commented Dec 16, 2011

That single patch was better than this mess I think. I must have done something wrong here, I'll try another way to get up to date with master next time. :)

welwood08 closed this Dec 16, 2011

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