Dan McGee wrote:
On 7/10/07, Andrew Fyfe <andrew@neptune-one.net> wrote:
Andrew Fyfe wrote:
Dan McGee wrote:
* FS 7271- makepkg caching netfiles- should be a super quick fix for someone like Andrew (hint, hint) :) Just look at Roman's last comment :D http://neptune-one.homeip.net/git?p=pacman;a=commitdiff;h=1ecf75677e9cafa04e... That should have been http://neptune-one.homeip.net/git?p=pacman;a=commitdiff;h=5f172a6f3bf354af32...
Only suggestion for this- instead of erroring out if it can't be cached there, can we still fall back to the $startdir for storage? Or better yet- error if $SRCDEST is invalid, but just fall back if $SRCDEST is undefined. I haven't tested your patch enough to see what happens in this case. If SRCDEST isn't passed to makepkg (ie SRCDEST=... makepkg) it defaults to $startdir. So it's always set :)