summaryrefslogtreecommitdiff
path: root/scripts/remove-comments.sed
diff options
context:
space:
mode:
authorHugo Hromic <hhromic@users.noreply.github.com>2019-04-25 10:28:48 +0100
committerXECDesign <XECDesign@users.noreply.github.com>2019-04-25 10:28:48 +0100
commit8acf95f237d3e0bbc5c698bcae2ad4f99efecccc (patch)
tree003d21f5d71f938376acf00fbbb7ed2a5168328d /scripts/remove-comments.sed
parent407663a57f380bdd779820392210c4309b1e719d (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