aboutsummaryrefslogtreecommitdiff
path: root/scripts/convert-help-to-standard.sh
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-27 05:05:05 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-27 05:05:05 +0000
commit1b5906f97a129fa95bb9a5149b7787b886fbe8da (patch)
tree83b0e893016105f3725ee13f21477b647fe6acbd /scripts/convert-help-to-standard.sh
parent1f371ce1443356319b6d3de88960bc38c2adbc4b (diff)
lots of build bug fixes and additions, including pixeltango and lots of binary files, including many flext externals. this will probably be pd-0.38.4-extended-RC5
svn path=/trunk/; revision=4051
Diffstat (limited to 'scripts/convert-help-to-standard.sh')
-rwxr-xr-xscripts/convert-help-to-standard.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/convert-help-to-standard.sh b/scripts/convert-help-to-standard.sh
index 54ee131a..56175fd1 100755
--- a/scripts/convert-help-to-standard.sh
+++ b/scripts/convert-help-to-standard.sh
@@ -11,8 +11,13 @@
for helpfile in help-*.pd ; do
if [ -e $helpfile ]; then
- mv "$helpfile" "`echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`"
- echo "SWAP $helpfile FOR `echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`"
+ newhelpfile=`echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`
+ if [ "$helpfile" != "$newhelpfile" ]; then
+ echo " swap $helpfile" "$newhelpfile"
+ mv "$helpfile" "$newhelpfile"
+ else
+ echo "SAMEFILE $helpfile"
+ fi
fi
done