summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-31 00:12:01 +0100
committerChristian Grothoff <christian@grothoff.org>2020-10-31 00:12:01 +0100
commit77842546903ef7296c863987f9a60e5f0ead14d1 (patch)
treead7e987bd8bc22ce09e4e1ff84050505e76bb16c /bin
parentbe928bb303f6100c40e4d84b2b350da690171987 (diff)
only call PGntuples once
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rename.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rename.sh b/bin/rename.sh
index bf3c767c5..eec77e277 100755
--- a/bin/rename.sh
+++ b/bin/rename.sh
@@ -1,6 +1,6 @@
#!/bin/sh
# This script is in the public domain.
-for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"` `find * -name "*.conf.in"`
+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"