Project

General

Profile

Actions

Bug #9002

closed

[rudder-packages] Make downloading files in Makefile be done in two steps

Added by Janos Mattyasovszky about 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Assignee:
-
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When make is processing the files as targets, the WGET is downloading directly the file.
When the download fails, the zero-sized file is still present in the FS as WGET pre-allocates it.
This causes make skip that step as the "file is present", even if it is invalid.
Therefore make the WGET download the file to a temp file, and only move it to the required filename when the download succeeded.

Actions

Also available in: Atom PDF