diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-01-27 13:37:10 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-01-28 09:55:35 +0100 |
commit | 9ee03516df30e068c22a9d86beaf4875b320170e (patch) | |
tree | c872f33ed8918571c91eac5405d83fce9290529d /tools | |
parent | cb1f01a5f80663b2b2975f753ba578bb20349c62 (diff) | |
download | systemd-9ee03516df30e068c22a9d86beaf4875b320170e.tar.gz |
tree-wide: add spdx header on all scripts and helpers
Even though many of those scripts are very simple, it is easier to include
the header than to try to say whether each of those files is trivial enough
not to require one.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/add-git-hook.sh | 1 | ||||
-rwxr-xr-x | tools/check-api-docs.sh | 1 | ||||
-rwxr-xr-x | tools/check-compilation.sh | 1 | ||||
-rwxr-xr-x | tools/check-directives.sh | 1 | ||||
-rwxr-xr-x | tools/check-help.sh | 1 | ||||
-rwxr-xr-x | tools/choose-default-locale.sh | 1 | ||||
-rwxr-xr-x | tools/coverity.sh | 1 | ||||
-rwxr-xr-x | tools/find-build-dir.sh | 1 | ||||
-rwxr-xr-x | tools/get-coverity.sh | 1 | ||||
-rwxr-xr-x | tools/git-contrib.sh | 1 | ||||
-rwxr-xr-x | tools/meson-apply-m4.sh | 1 | ||||
-rwxr-xr-x | tools/meson-build.sh | 1 | ||||
-rwxr-xr-x | tools/meson-make-symlink.sh | 1 | ||||
-rwxr-xr-x | tools/meson-vcs-tag.sh | 1 | ||||
-rwxr-xr-x | tools/syscall-table-update.sh | 1 | ||||
-rwxr-xr-x | tools/update-hwdb-autosuspend.sh | 1 | ||||
-rwxr-xr-x | tools/update-hwdb.sh | 1 |
17 files changed, 17 insertions, 0 deletions
diff --git a/tools/add-git-hook.sh b/tools/add-git-hook.sh index 5b1bf17219..66bbcd64ea 100755 --- a/tools/add-git-hook.sh +++ b/tools/add-git-hook.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu cd "$MESON_SOURCE_ROOT" diff --git a/tools/check-api-docs.sh b/tools/check-api-docs.sh index 1094101e08..283e7a64d7 100755 --- a/tools/check-api-docs.sh +++ b/tools/check-api-docs.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu sd_good=0 diff --git a/tools/check-compilation.sh b/tools/check-compilation.sh index ce39e1684b..c2fe3aa5c1 100755 --- a/tools/check-compilation.sh +++ b/tools/check-compilation.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu "$@" '-' -o/dev/null </dev/null diff --git a/tools/check-directives.sh b/tools/check-directives.sh index 1a0bb0995b..1d11fa98a1 100755 --- a/tools/check-directives.sh +++ b/tools/check-directives.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -e which perl &>/dev/null || exit 77 diff --git a/tools/check-help.sh b/tools/check-help.sh index efe7ed4e56..721dec4c64 100755 --- a/tools/check-help.sh +++ b/tools/check-help.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu export SYSTEMD_LOG_LEVEL=info diff --git a/tools/choose-default-locale.sh b/tools/choose-default-locale.sh index da9768ad7c..a5158cf7c5 100755 --- a/tools/choose-default-locale.sh +++ b/tools/choose-default-locale.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -e # Fedora uses C.utf8 but Debian uses C.UTF-8 diff --git a/tools/coverity.sh b/tools/coverity.sh index 8aa0544466..f140b78174 100755 --- a/tools/coverity.sh +++ b/tools/coverity.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later # The official unmodified version of the script can be found at # https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh diff --git a/tools/find-build-dir.sh b/tools/find-build-dir.sh index fb8a1c17a3..e449b6e865 100755 --- a/tools/find-build-dir.sh +++ b/tools/find-build-dir.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -e # Try to guess the build directory: diff --git a/tools/get-coverity.sh b/tools/get-coverity.sh index 3634e57ad6..8f84aec80e 100755 --- a/tools/get-coverity.sh +++ b/tools/get-coverity.sh @@ -1,4 +1,5 @@ #!/bin/bash +# SPDX-License-Identifier: LGPL-2.1-or-later # Download and extract coverity tool diff --git a/tools/git-contrib.sh b/tools/git-contrib.sh index f6fccd6046..fdae898551 100755 --- a/tools/git-contrib.sh +++ b/tools/git-contrib.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu git shortlog -s `git describe --abbrev=0 --match 'v[0-9][0-9][0-9]'`.. | \ diff --git a/tools/meson-apply-m4.sh b/tools/meson-apply-m4.sh index 5fad8cd94f..7b4801ff94 100755 --- a/tools/meson-apply-m4.sh +++ b/tools/meson-apply-m4.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu CONFIG=$1 diff --git a/tools/meson-build.sh b/tools/meson-build.sh index dea554177d..26f995dfc1 100755 --- a/tools/meson-build.sh +++ b/tools/meson-build.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eux src="$1" diff --git a/tools/meson-make-symlink.sh b/tools/meson-make-symlink.sh index 8c7e887f51..96f5892281 100755 --- a/tools/meson-make-symlink.sh +++ b/tools/meson-make-symlink.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu if [ "${MESON_INSTALL_QUIET:-0}" = 1 ] ; then diff --git a/tools/meson-vcs-tag.sh b/tools/meson-vcs-tag.sh index a285210f96..1ec04c76b7 100755 --- a/tools/meson-vcs-tag.sh +++ b/tools/meson-vcs-tag.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu set -o pipefail diff --git a/tools/syscall-table-update.sh b/tools/syscall-table-update.sh index e270246202..a6d7d14732 100755 --- a/tools/syscall-table-update.sh +++ b/tools/syscall-table-update.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu cd "$1" && shift diff --git a/tools/update-hwdb-autosuspend.sh b/tools/update-hwdb-autosuspend.sh index b037dd8d5a..7d5a9a8cf5 100755 --- a/tools/update-hwdb-autosuspend.sh +++ b/tools/update-hwdb-autosuspend.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu cd "$1" diff --git a/tools/update-hwdb.sh b/tools/update-hwdb.sh index 42251612dd..773a959dcf 100755 --- a/tools/update-hwdb.sh +++ b/tools/update-hwdb.sh @@ -1,4 +1,5 @@ #!/bin/sh +# SPDX-License-Identifier: LGPL-2.1-or-later set -eu cd "$1" |