Marcel Telka
2023-02-16 c199456fba1f6a00fa50f4740b7102ad427fed4b
tools/license-detector: add MPL-2.0 license header

2 files added
23 ■■■■■ changed files
tools/licenses/header.MPL-2.0 3 ●●●●● patch | view | raw | blame | history
tools/licenses/header.MPL-2.0.filter 20 ●●●●● patch | view | raw | blame | history
tools/licenses/header.MPL-2.0
New file
@@ -0,0 +1,3 @@
This Source Code Form is subject to the terms of the Mozilla Public License,
v. 2.0. If a copy of the MPL was not distributed with this file, You can
obtain one at http://mozilla.org/MPL/2.0/.
tools/licenses/header.MPL-2.0.filter
New file
@@ -0,0 +1,20 @@
#! /usr/bin/sh
#
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 Marcel Telka
#
sed -n \
    -e 's/^.*\(This Source Code Form is subject\)/\1/' \
    -e '/Mozilla Public License, v\. 2\.0/p'