make accepting license updates easier

This commit is contained in:
Jonathan Shook
2022-05-20 13:57:13 -05:00
parent 124c92256f
commit 0edd8b99be
2 changed files with 32 additions and 1 deletions

8
scripts/accept_licenses.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
find . -type f -name '*.java.new' | \
while read newname
do
original=${newname%%.new}
mv $newname $original
printf "moved %s to %s\n" "${newname}" "${original}"
done