diff options
Diffstat (limited to 'scripts/convert-help-to-standard.sh')
-rwxr-xr-x | scripts/convert-help-to-standard.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/convert-help-to-standard.sh b/scripts/convert-help-to-standard.sh index 5dfb7b2f..54ee131a 100755 --- a/scripts/convert-help-to-standard.sh +++ b/scripts/convert-help-to-standard.sh @@ -10,8 +10,10 @@ # renamed by their respective maintainers. for helpfile in help-*.pd ; do - mv "$helpfile" "`echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`" -# echo "SWAP $helpfile `echo $helpfile | sed 's/^help\-\(.*\)\.pd$/\1-help.pd/'`" + 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/'`" + fi done # this isn't used yet |