Skip to content

Commit 698ca75

Browse files
committed
Update addlicense to respect existing copyright statements
1 parent 5e0e78f commit 698ca75

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

development/addlicense.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/bin/bash
22
# Adds the BioJava LGPL license statement to the top of every java file
33

4-
find . -iname '*.java' -exec grep -L 'http://www.gnu.org/copyleft/lesser.html' '{}' ';' |
4+
find . -iname '*.java' -exec grep -L 'http://www.gnu.org/copyleft/lesser.html' '{}' '+'|
5+
xargs grep -Li 'copyright' |
56
while read file; do
67
echo "$file"
78
cat >tmp.java <<END

development/spacestotabs.py

100644100755
File mode changed.

0 commit comments

Comments
 (0)