diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-26 16:43:22 +0300 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-04-26 16:43:22 +0300 |
commit | 419e021d3db3758dd17daef925ec47f2861f4026 (patch) | |
tree | ba330739d3ef33def97d6de7ebb8f8749157063b /scripts/license | |
parent | b3ff589dbd97f6057a03bedc7df8ccca7bd3662f (diff) | |
download | posthaste-419e021d3db3758dd17daef925ec47f2861f4026.tar.gz posthaste-419e021d3db3758dd17daef925ec47f2861f4026.zip |
cleanup makefiles
Diffstat (limited to 'scripts/license')
-rwxr-xr-x | scripts/license | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/license b/scripts/license deleted file mode 100755 index 53bd5da..0000000 --- a/scripts/license +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -SPDX="/* SPDX-License-Identifier: copyleft-next-0.3.1 */" - -for f in "$@" -do - if [ "$(head -1 "$f")" != "${SPDX}" ] - then - sed -i "1i${SPDX}\n" "$f" - fi - - if ! grep 'Copyright' "$f" > /dev/null - then - echo "Missing copyright info in $f" - fi -done |