]> git.ipfire.org Git - thirdparty/strongswan.git/blob - Source/scripts/replace
adfc8e09a037175580b396c19a73b7cbb5b6a804
[thirdparty/strongswan.git] / Source / scripts / replace
1 #!/bin/bash
2
3 FILES=`find . -name '*.[ch]'`
4 for FILE in $FILES
5 do
6 TMP=${FILE}_tmp
7 sed "s/$1/$2/g" < $FILE > $TMP
8 mv $TMP $FILE
9 done