Return to prependlicense.sh CVS log | Up to [OMI] / omi / scripts |
File: [OMI] / omi / scripts / prependlicense.sh
(download)
/
(as text)
Revision: 1.1.1.1 (vendor branch), Wed May 30 21:47:49 2012 UTC (12 years, 1 month ago) by mike Branch: TOG CVS Tags: OMI_1_0_2_Branch, OMI_1_0_2, OMI_1_0_1_PRE, OMI_1_0_1, OMI_1_0_0 Changes since 1.1: +0 -0 lines Initial Import |
#!/bin/bash SOURCES1=`find . -name '*.c' -print` SOURCES2=`find . -name '*.cpp' -print` SOURCES3=`find . -name '*.h' -print` SOURCES="$SOURCES1 $SOURCES2 $SOURCES3" for i in $SOURCES do echo $i cp $i $i.tmp cat license.h_ > $i cat $i.tmp >> $i rm -f $i.tmp done
ViewCVS 0.9.2 |