summaryrefslogtreecommitdiff
path: root/lib/common.sh
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/common.sh
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/common.sh')
-rw-r--r--lib/common.sh5
1 files changed, 3 insertions, 2 deletions
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)"