isaacs/nave — pull request #30 by welwood08 (2011-12-02 08:19:32+00:00)
Title: fetch from array of URLs, remove src dir on fail

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.