r21325: delete children in reverse order since the array is manipulated during the...
[samba.git] / webapps / qooxdoo-0.6.3-sdk / frontend / framework / tool / massreplace.sh
1 #!/usr/bin/env bash
2
3 cd `dirname $0`/..
4
5 for file in `find source -name "*.js" -o -name "*.css"  -o -name "*.html"`; do
6   echo ">>> Patching: $file"
7   sed -i s:"$1":"$2":g $file
8 done