diff options
author | Thomas Haller <thaller@redhat.com> | 2020-12-23 22:21:36 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-01-05 09:46:21 +0100 |
commit | 977ea352a0a93fc2b1854a6eeb89e62e8c9f6647 (patch) | |
tree | df60fe2d140b34a000bacfe603b475cf71260932 /dispatcher/tests | |
parent | 4e49c417ebd4fd211c96645fe1cf19f4ac850238 (diff) | |
download | NetworkManager-977ea352a0a93fc2b1854a6eeb89e62e8c9f6647.tar.gz |
all: update deprecated SPDX license identifiers
These SPDX license identifiers are deprecated ([1]). Update them.
[1] https://spdx.org/licenses/
sed \
-e '1 s%^/\* SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+ \*/$%/* SPDX-License-Identifier: \1-or-later */%' \
-e '1,2 s%^\(--\|#\|//\) SPDX-License-Identifier: \(GPL-2.0\|LGPL-2.1\)+$%\1 SPDX-License-Identifier: \2-or-later%' \
-i \
$(git grep -l SPDX-License-Identifier -- \
':(exclude)shared/c-*/' \
':(exclude)shared/n-*/' \
':(exclude)shared/systemd/src' \
':(exclude)src/systemd/src')
Diffstat (limited to 'dispatcher/tests')
-rw-r--r-- | dispatcher/tests/meson.build | 2 | ||||
-rw-r--r-- | dispatcher/tests/test-dispatcher-envp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build index 53108e79ea..59169c0ead 100644 --- a/dispatcher/tests/meson.build +++ b/dispatcher/tests/meson.build @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.1+ +# SPDX-License-Identifier: LGPL-2.1-or-later test_unit = 'test-dispatcher-envp' diff --git a/dispatcher/tests/test-dispatcher-envp.c b/dispatcher/tests/test-dispatcher-envp.c index 2e64dc5890..073d95bc79 100644 --- a/dispatcher/tests/test-dispatcher-envp.c +++ b/dispatcher/tests/test-dispatcher-envp.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2011 Red Hat, Inc. */ |