[Buildroot] [PATCH] pkg-infra: Fix wget -O
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Mar 5 09:30:06 UTC 2012
Le Sun, 4 Mar 2012 22:10:23 +0100,
"Arnout Vandecappelle (Essensium/Mind)" <arnout at mind.be> a écrit :
> wget -O always creates its output file, so we need a different way to
> detect if the download succeeded or not.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
I found the same problem this week-end, and I think that we should
remove the empty file after the download if the download failed. I
don't like having empty files that remain in my download directory.
I will send my version shortly.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list