Menu

[r5763]: / branches / drjavaNoDocLocks / relicense  Maximize  Restore  History

Download this file

16 lines (12 with data), 292 Bytes

#!/bin/sh

# relicense: Changes the copyright/license block on *.java (recursively)
# to whatever's in ./COPYRIGHT.

for A in `find . -name *.java -o -name *.orig`; do
  mv $A $A.old
  cp COPYRIGHT $A
  ./strip-license < $A.old >> $A
  rm -f $A.old
  echo "$A"
done

echo ""
echo "All done."
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.