summaryrefslogtreecommitdiff
path: root/bin/rename.sh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-05-07 13:00:40 +0000
committerBart Polot <bart@net.in.tum.de>2014-05-07 13:00:40 +0000
commitf845f5cdece28a41fad692e2839b398393d205e8 (patch)
tree3ed9b8d73e6ebd01ff4331f9b954c8c183cc15d3 /bin/rename.sh
parent4070540a5c063d24cdbb793ebd2fa985c7c507f7 (diff)
- rename in conf.in files, update conf.in file still referencing mesh
Diffstat (limited to 'bin/rename.sh')
-rwxr-xr-xbin/rename.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rename.sh b/bin/rename.sh
index 4234b8316..3b49712e5 100755
--- a/bin/rename.sh
+++ b/bin/rename.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"`
+for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"` `find * -name "*.conf.in"`
do
cat $n | sed -e "s/$1/$2/g" > $n.new
mv $n.new $n || echo "Move failed: $n.new to $n"