summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-06-10 19:16:22 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-10-29 09:16:13 +0200
commit539f09761c0b1f77707bb30f5621695d0a9f7bc3 (patch)
treee0f755495eb7b2b3e40dbb4106dc2785ca515262 /lib
parentda7f267ef25992aac7535c0cf9289f91df6eda83 (diff)
downloaddevtools-539f09761c0b1f77707bb30f5621695d0a9f7bc3.tar.xz
Add GPL-3.0-or-later SPDX identifier to all scripts
Add the SPDX license identifier GPL-3.0-or-later to the header of all scripts without a specific license and upgrading those that are stated as GPL-2.0 to become GPL-3.0-or-later.
Diffstat (limited to 'lib')
-rw-r--r--lib/archroot.sh3
-rw-r--r--lib/common.sh5
-rw-r--r--lib/valid-repos.sh3
-rw-r--r--lib/valid-tags.sh3
4 files changed, 9 insertions, 5 deletions
diff --git a/lib/archroot.sh b/lib/archroot.sh
index 8f063cd..d7917da 100644
--- a/lib/archroot.sh
+++ b/lib/archroot.sh
@@ -1,5 +1,6 @@
#!/hint/bash
-# License: Unspecified
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
:
# shellcheck disable=2034
diff --git a/lib/common.sh b/lib/common.sh
index 12604d8..0092a45 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -1,7 +1,8 @@
#!/hint/bash
+#
# This may be included with or without `set -euE`
-
-# License: Unspecified
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
[[ -z ${_INCLUDE_COMMON_SH:-} ]] || return 0
_INCLUDE_COMMON_SH="$(set +o|grep nounset)"
diff --git a/lib/valid-repos.sh b/lib/valid-repos.sh
index 252fdcf..9ac9639 100644
--- a/lib/valid-repos.sh
+++ b/lib/valid-repos.sh
@@ -1,5 +1,6 @@
#!/hint/bash
-# License: Unspecified
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
:
# shellcheck disable=2034
diff --git a/lib/valid-tags.sh b/lib/valid-tags.sh
index 3cfe046..d628fd1 100644
--- a/lib/valid-tags.sh
+++ b/lib/valid-tags.sh
@@ -1,5 +1,6 @@
#!/hint/bash
-# License: Unspecified
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
:
# shellcheck disable=2034