#!/bin/tcsh

unalias touch

find `pwd` -type f -name "Makefile" -print > `pwd`/FreetypeList
find `pwd` -type f -name ".workshop*" -print >> `pwd`/FreetypeList
find `pwd` -type f -name ".ld_library_path.*" -print >> `pwd`/FreetypeList

foreach i ( `cat ./FreetypeList` )
	echo "Processing $i ..."
	sed -e 's#freetype-2.1.5#freetype-2.1.3#g' $i > /tmp/x
	touch -r $i -acm /tmp/x
	cp -fp /tmp/x $i
	rm -f /tmp/x
end

rm -f /tmp/x

