(file) Return to prependlicense.sh CVS log (file) (dir) Up to [OMI] / omi / scripts

 1 mike  1.1 #!/bin/bash
 2           SOURCES1=`find . -name '*.c' -print`
 3           SOURCES2=`find . -name '*.cpp' -print`
 4           SOURCES3=`find . -name '*.h' -print`
 5           SOURCES="$SOURCES1 $SOURCES2 $SOURCES3"
 6           for i in $SOURCES
 7           do
 8               echo $i
 9               cp $i $i.tmp
10               cat license.h_ > $i
11               cat $i.tmp >> $i
12               rm -f $i.tmp
13           done

ViewCVS 0.9.2