Factorize `download-and-store'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 21 Apr 2013 20:40:23 +0000 (22:40 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 21 Apr 2013 20:40:40 +0000 (22:40 +0200)
commit861693f3e71fed8663a3ef9c336c3f3345e1e039
tree5f798b6915114f4658bcbd764ada7a84e4fd6238
parent6c365eca6dafca37f0ac34d55221bcf197df49a3
Factorize `download-and-store'.

* guix/download.scm (download-to-store): New procedure.
* guix/scripts/download.scm (fetch-and-store): Remove.
  (guix-download): Use `download-to-store' instead.
* guix/ui.scm (call-with-temporary-output-file): Move to...
* guix/utils.scm (call-with-temporary-output-file): ... here.
guix/download.scm
guix/scripts/download.scm
guix/ui.scm
guix/utils.scm