V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -120,17 +120,15 @@ insert_comments() {
|
||||
#######################################
|
||||
# Wrapper to insert the SPDX Header into the specified file.
|
||||
# Globals:
|
||||
# None
|
||||
# VAR_DATE
|
||||
# Arguments:
|
||||
# 1: /path/to/file
|
||||
# Returns:
|
||||
# 0: on success
|
||||
#######################################
|
||||
insert_header() {
|
||||
# shellcheck disable=SC2155
|
||||
declare var_date="$(date +%F)"
|
||||
cat << EOF >| "${1}"
|
||||
# SPDX-CreationInfo: ${var_date}; WEIDNER, Marc S.; <msw@coresecret.dev>
|
||||
# SPDX-CreationInfo: ${VAR_DATE}; WEIDNER, Marc S.; <msw@coresecret.dev>
|
||||
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.installer.git
|
||||
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
|
||||
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
|
||||
|
||||
Reference in New Issue
Block a user