-
Notifications
You must be signed in to change notification settings - Fork 0
/
licenser.sh
7 lines (6 loc) · 872 Bytes
/
licenser.sh
1
2
3
4
5
6
licenseText=$'//Copyright 2022 Katherine Rose\n//This file is part of ReasonablyEasyCryptography.\n//ReasonablyEasyCryptography is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n//ReasonablyEasyCryptography is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.\n//You should have received a copy of the GNU Lesser General Public License along with ReasonablyEasyCryptography. If not, see <https://www.gnu.org/licenses/\n\n>.'
for i in java/**/*.java
do
content=$(<$i)
echo "$licenseText $content" > $i
done