cgal/Packages/wininst/developer_scripts/examples/C2vcproj

23 lines
347 B
Bash
Executable File

#!/bin/sh
for h in $@ ; do
if [ -d $h ]; then
cd $h;
echo "In " $h;
if [ -e text ]; then
rm -r text;
fi
mkdir text;
for i in *.C ; do
jp=`echo $i|sed -e "s/\.C/\.vcproj/"`;
k=`echo $i|sed -e "s/\.C//"`;
sed -e"s/master/$k/g" master.vcproj > ./text/$jp;
mv ./text/$jp ./;
done
rm -r text
cd ..;
fi
done