]> git.ipfire.org Git - thirdparty/strongswan.git/blob - programs/charon/scripts/replace
- import of strongswan-2.7.0
[thirdparty/strongswan.git] / programs / charon / 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