diff options
| author | Hugo Hromic <hhromic@users.noreply.github.com> | 2019-04-25 10:28:48 +0100 |
|---|---|---|
| committer | XECDesign <XECDesign@users.noreply.github.com> | 2019-04-25 10:28:48 +0100 |
| commit | 8acf95f237d3e0bbc5c698bcae2ad4f99efecccc (patch) | |
| tree | 003d21f5d71f938376acf00fbbb7ed2a5168328d /scripts/remove-comments.sed | |
| parent | 407663a57f380bdd779820392210c4309b1e719d (diff) | |
Do not assume the changelog file is always present for the info file (#280)
The `(..)/raspberrypi-kernel/changelog.Debian.gz` file is not guaranteed
to be present in the built `ROOTFS_DIR`, for example when building very
minimal images without package documentation. In these cases, the `firmware`
variable will be left empty and the subsequent calls to `curl` will return
large 404 HTML content from GitHub.
Instead, simply check if the changelog file exists before using it.
Diffstat (limited to 'scripts/remove-comments.sed')
0 files changed, 0 insertions, 0 deletions
