diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2020-12-28 00:58:46 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-12-29 03:47:01 +0200 |
commit | 41cd5a0798cdd17a99e164c6306a7f85312cd0af (patch) | |
tree | 1abd1624241832620945239e0facd1e9f54e6d77 | |
parent | 830a9cb8f583d7d63e207f77469aec20fbdcad7c (diff) |
Replace Apache 2.0 boilerplate/reference with SPDX
Change-Id: I691c4893e500aa791868adb82573ef2357805faf
-rw-r--r-- | extract_utils.sh | 14 | ||||
-rwxr-xr-x | templates/multi-device/common/extract-files.sh | 12 | ||||
-rwxr-xr-x | templates/multi-device/common/setup-makefiles.sh | 12 | ||||
-rwxr-xr-x | templates/multi-device/device/extract-files.sh | 12 | ||||
-rwxr-xr-x | templates/multi-device/device/setup-makefiles.sh | 12 | ||||
-rwxr-xr-x | templates/single-device/extract-files.sh | 12 | ||||
-rwxr-xr-x | templates/single-device/setup-makefiles.sh | 12 |
7 files changed, 8 insertions, 78 deletions
diff --git a/extract_utils.sh b/extract_utils.sh index 26f1ea5..b531d4d 100644 --- a/extract_utils.sh +++ b/extract_utils.sh @@ -1,19 +1,9 @@ #!/bin/bash # # Copyright (C) 2016 The CyanogenMod Project -# 2017-2020 The LineageOS Project +# Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # PRODUCT_COPY_FILES_LIST=() diff --git a/templates/multi-device/common/extract-files.sh b/templates/multi-device/common/extract-files.sh index 0aa3cfd..22d3afe 100755 --- a/templates/multi-device/common/extract-files.sh +++ b/templates/multi-device/common/extract-files.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/multi-device/common/setup-makefiles.sh b/templates/multi-device/common/setup-makefiles.sh index a03188d..5ae929d 100755 --- a/templates/multi-device/common/setup-makefiles.sh +++ b/templates/multi-device/common/setup-makefiles.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/multi-device/device/extract-files.sh b/templates/multi-device/device/extract-files.sh index 5be8797..fb64cb6 100755 --- a/templates/multi-device/device/extract-files.sh +++ b/templates/multi-device/device/extract-files.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # function blob_fixup() { diff --git a/templates/multi-device/device/setup-makefiles.sh b/templates/multi-device/device/setup-makefiles.sh index 94a50e7..c534c64 100755 --- a/templates/multi-device/device/setup-makefiles.sh +++ b/templates/multi-device/device/setup-makefiles.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/single-device/extract-files.sh b/templates/single-device/extract-files.sh index 075a70b..6c27121 100755 --- a/templates/single-device/extract-files.sh +++ b/templates/single-device/extract-files.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e diff --git a/templates/single-device/setup-makefiles.sh b/templates/single-device/setup-makefiles.sh index 0253580..671b408 100755 --- a/templates/single-device/setup-makefiles.sh +++ b/templates/single-device/setup-makefiles.sh @@ -3,17 +3,7 @@ # Copyright (C) 2016 The CyanogenMod Project # Copyright (C) 2017-2020 The LineageOS Project # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 # set -e |