summaryrefslogtreecommitdiff
path: root/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh
blob: 845a973781c45295beba891cdf981dd6dd3eac68 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

cd `dirname $0`/..

for file in `find source -name "*.js" -o -name "*.css"  -o -name "*.html"`; do
  echo ">>> Patching: $file"
  sed -i s:"$1":"$2":g $file
done