diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-29 00:26:39 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-29 00:26:39 +0100 |
commit | 28c5ee8baf8383a991199dc0a2d9734fccd14aba (patch) | |
tree | eaceb4fc98cb6de7a4d14d595c4b2772f84928b2 /patches/glibc | |
parent | af6dd3f3f0a81a39ed9bb595f70127845de5e3f6 (diff) | |
download | crosstool-ng-28c5ee8baf8383a991199dc0a2d9734fccd14aba.tar.gz crosstool-ng-28c5ee8baf8383a991199dc0a2d9734fccd14aba.tar.bz2 crosstool-ng-28c5ee8baf8383a991199dc0a2d9734fccd14aba.zip |
scripts: recover on partially downloaded files
Download to an intermediate temp file, and rename it to its final
name only of download succeeds.
This catches both a failed download, and also the case where the user
interrupts the download. Thus, the a partial download gets discarded,
and we no longer try to extract a partial tarball, which we would
previously have done.
Suggested by Thomas PETAZZONI.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'patches/glibc')
0 files changed, 0 insertions, 0 deletions