aboutsummaryrefslogtreecommitdiffstats
path: root/include/download.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-16 15:15:48 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-16 15:16:47 +0100
commit651bc94df424faae586f0ad8ca0f0a4ef95e5090 (patch)
tree4f297f7529969e4c4688bd5da5a42bd14812d763 /include/download.mk
parentf3b866f93a6d379752be15d698a1345e50b351f3 (diff)
downloadupstream-651bc94df424faae586f0ad8ca0f0a4ef95e5090.tar.gz
upstream-651bc94df424faae586f0ad8ca0f0a4ef95e5090.tar.bz2
upstream-651bc94df424faae586f0ad8ca0f0a4ef95e5090.zip
download.pl: check for existing file before the first download attempt
In the build system, flock will prevent multiple concurrent downloads for the same file. However, if one download request for the same file is waiting for another one to finish, it will result in downloading the same file twice consecutively. Prevent this issue by exiting immediately if the file has already been downloaded Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/download.mk')
0 files changed, 0 insertions, 0 deletions