Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (15 sloc) 0.325 kB
#!/bin/bash
for a in {src,lib/*{,/*}}/*.cpp
do
b="${a%pp}"
c="${a##*/}"
d="${b##*/}"
if [ "$d" != '*.c' ]
then
#echo Checking "$a"
sed -i "s/\\b${b//\//\\\\}\\b/${a//\//\\\\}/" win32/*.vcproj
sed -i "s/\\b$d\\b/$c/" {src,lib/*{,/*}}/{Makefile.am,makefile.win32} lib/*/*.vcproj
else
echo Skipping "$a".
fi
done
Jump to Line
Something went wrong with that request. Please try again.