Skip to content

Commit

Permalink
Merge pull request #192 from BenediktMKuehne/copyright-update
Browse files Browse the repository at this point in the history
Copyright update to 2024
  • Loading branch information
m-1-k-3 authored Feb 22, 2024
2 parents 66843db + c4276b9 commit a4bbff7
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions dev-tools/check_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
# Copyright 2020-2021 Siemens AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
Expand Down Expand Up @@ -326,7 +326,7 @@ copy_right_check(){
local DIR_="${2:-}"
local EXCLUDE_="${3:-}"
echo -e "\\n""${ORANGE}""${BOLD}""EMBArk Copyright check""${NC}""\\n""${BOLD}""=================================================================""${NC}"
mapfile -t COPYRIGHT_LINE_ < <(find "${DIR_}" -type d -path "${EXCLUDE_}" -prune -false -o -type f -path "${0}" -prune -false -o -iname "*.sh" -exec grep -H "Copyright" {} \;)
mapfile -t COPYRIGHT_LINE_ < <(find "${DIR_}" -type d -path "${PWD}/emba" -prune -false -o -type d -path "${EXCLUDE_}" -prune -false -o -type f -path "${0}" -prune -false -o -iname "*.sh" -exec grep -H "Copyright" {} \;)
if [[ "${#COPYRIGHT_LINE_[@]}" -gt 0 ]]; then
for LINE_ in "${COPYRIGHT_LINE_[@]}"; do
if ! grep -q "${YEAR_}.*Siemens Energy AG" "${LINE_%%:*}" && ! grep -q "Siemens AG" "${LINE_%%:*}"; then
Expand Down Expand Up @@ -359,7 +359,7 @@ list_linter_exceptions "bandit" "$PWD" "${PWD}/.venv"
pylinter
check_django
yamlchecker
copy_right_check 2023 "${PWD}" "${PWD}/emba_logs"
copy_right_check 2024 "${PWD}" "${PWD}/emba_logs"

if [[ "${#MODULES_TO_CHECK_ARR[@]}" -gt 0 ]]; then
echo -e "\\n\\n""${GREEN}${BOLD}""SUMMARY:${NC}\\n"
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/clean-setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/debug-server-start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/prepare.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion export-DB.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion helper/helper_embark_general.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion helper/wickStrictModeFail.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion import-DB.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
# Copyright 2020-2022 Siemens AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
Expand Down
2 changes: 1 addition & 1 deletion run-server.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020-2023 Siemens Energy AG
# Copyright 2020-2024 Siemens Energy AG
# Copyright 2020-2022 Siemens AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
Expand Down
2 changes: 1 addition & 1 deletion supervisor.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# EMBArk - The firmware security scanning environment
#
# Copyright 2020 - 2023 Siemens Energy AG
# Copyright 2020 - 2024 Siemens Energy AG
#
# EMBArk comes with ABSOLUTELY NO WARRANTY.
#
Expand Down

0 comments on commit a4bbff7

Please sign in to comment.