download.pl: properly cleanup intermediate .hash file
authorPetr Štetiar <ynezz@true.cz>
Fri, 27 Nov 2020 20:56:30 +0000 (21:56 +0100)
committerRISCi_ATOM <bob@bobcall.me>
Sun, 6 Dec 2020 06:36:05 +0000 (01:36 -0500)
commit3e8eb3768e987314b06471f6ff8b3b196a0a842b
tree47288b85213ba1666775502225ae10d3b2e993e3
parent68ef46d836637a07e01255aeb54303c2ecd8f981
download.pl: properly cleanup intermediate .hash file

It seems like after a build the /dl dir seems to now contain a .hash
file for each source file due to inproper cleanup so fix it by removing
those intermediate files before leaving the download action.

Fixes: 4e19cbc55335 ("download: handle possibly invalid local tarballs")
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 52a5d0d27f2557db99fc5435fbd7783b649cb9b2)
scripts/download.pl