Skip to content

Commit

Permalink
Fix license detection and change to SPDX ID
Browse files Browse the repository at this point in the history
Signed-off-by: Hartanto Ario Widjaya <tanto259@users.noreply.github.com>
  • Loading branch information
tanto259 committed Jan 27, 2022
1 parent 2428566 commit d24a1ba
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
1 change: 0 additions & 1 deletion LICENSE.md

This file was deleted.

15 changes: 0 additions & 15 deletions copyright_notice.txt

This file was deleted.

2 changes: 1 addition & 1 deletion insert_copyright_notice.sh → insert_notice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ for filename in ./** ./..?* ; do
echo "File $filename already contains copyright notice"
else
echo "Inserting copyright notice into file $filename"
cat copyright_notice.txt "$filename" > temp.txt
cat notice.txt "$filename" > temp.txt
mv temp.txt "$filename"
fi
fi
Expand Down
5 changes: 5 additions & 0 deletions notice.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
Copyright 2020 David Nicolette

SPDX-License-Identifier: Apache-2.0
*/

0 comments on commit d24a1ba

Please sign in to comment.