diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-05-07 12:07:47 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-05-07 12:07:47 +0000 |
commit | b3c9c0eae35e6419088b647791b85d0da93b1f4d (patch) | |
tree | aa95821dd2dab717b301ad37c203cfdd6ba7f9d8 /bin | |
parent | 848b0e9e3a4d586050d05aa4f3f796e1f978480e (diff) | |
download | gnunet-b3c9c0eae35e6419088b647791b85d0da93b1f4d.tar.gz gnunet-b3c9c0eae35e6419088b647791b85d0da93b1f4d.zip |
- rename also contents of config files, update config files
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rename.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rename.sh b/bin/rename.sh index 8b6e6c899..4234b8316 100755 --- a/bin/rename.sh +++ b/bin/rename.sh | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` | 2 | for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"` |
3 | do | 3 | do |
4 | cat $n | sed -e "s/$1/$2/g" > $n.new | 4 | cat $n | sed -e "s/$1/$2/g" > $n.new |
5 | mv $n.new $n || echo "Move failed: $n.new to $n" | 5 | mv $n.new $n || echo "Move failed: $n.new to $n" |