commit: 71f67c7fbcdbb491bdb4ccb44f8ac45e9b80e943
parent 6de12d402f698309f729302fd03e66c18d6b35ec
Author: Eduardo Sánchez Muñoz <eduardosm-dev@e64.io>
Date: Mon, 28 Nov 2022 20:00:18 +0100
Add download-distfiles.sh to shellcheck and include reuse information
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.cirrus.yml b/.cirrus.yml
@@ -24,7 +24,7 @@ shell_lint_task:
- apt-get -y install shellcheck
- apt-get -y clean
check_script:
- - shellcheck sysa/run.sh sysb/init sysb/run.sh sysc/init sysc/run.sh sysc/run2.sh sysa/helpers.sh
+ - shellcheck sysa/run.sh sysb/init sysb/run.sh sysc/init sysc/run.sh sysc/run2.sh sysa/helpers.sh download-distfiles.sh
reuse_lint_task:
container:
diff --git a/download-distfiles.sh b/download-distfiles.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
download_source() {
local distfiles="${1}"
local url="${2}"