download.pl: properly cleanup intermediate .hash file
authorPetr Štetiar <ynezz@true.cz>
Fri, 27 Nov 2020 20:56:30 +0000 (21:56 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 27 Nov 2020 21:27:08 +0000 (22:27 +0100)
commit52a5d0d27f2557db99fc5435fbd7783b649cb9b2
tree99e4029f3e746bf086b3a568c06460719852f627
parentb0cb305236524095bfd899449b0ad8eb821cb3bb
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>
scripts/download.pl