summaryrefslogtreecommitdiff
path: root/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh')
-rwxr-xr-xwebapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh b/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh
new file mode 100755
index 0000000000..845a973781
--- /dev/null
+++ b/webapps/qooxdoo-0.6.3-sdk/frontend/framework/tool/massreplace.sh
@@ -0,0 +1,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