diff options
author | etobi <git@e-tobi.net> | 2009-11-03 22:04:11 +0100 |
---|---|---|
committer | etobi <git@e-tobi.net> | 2009-11-03 22:18:04 +0100 |
commit | ccbbe046f0efb2c9a63e78d307f2c1b96c1c3e64 (patch) | |
tree | 499523f44682328545429f93c98d4421cbdc1356 /tools/replaceinsources | |
parent | 5ae195f9b432f99a25b6dbaf155879ce9fd815c1 (diff) | |
download | vdr-plugin-vodcatcher-master.tar.gz vdr-plugin-vodcatcher-master.tar.bz2 |
Diffstat (limited to 'tools/replaceinsources')
-rwxr-xr-x | tools/replaceinsources | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/replaceinsources b/tools/replaceinsources new file mode 100755 index 0000000..55319cf --- /dev/null +++ b/tools/replaceinsources @@ -0,0 +1,9 @@ +#!/bin/sh + +sources=`find ./ -name *.cc -o -name *.h` + +for src in $sources; do + echo $src + sed "$1" "$src" >"$src".tmp + mv "$src".tmp $src +done |