Refactor, DRY
[git-tools-moved-to-github.git] / fixup-headers / add-config-h.sh
1 #!/bin/sh
2 H=`dirname $0`/add-file-config.tcl
3 for f in `find . \( -name '*.c' -or -name '*.cpp' \) -print`; do
4         echo $f
5         $H < $f >${f}_new
6         mv -f ${f}_new $f
7 done
8