[PD-cvs] scripts convert-help-to-standard.sh,1.1,1.2
Hans-Christoph Steiner
eighthave at users.sourceforge.net
Tue Jul 12 06:42:45 CEST 2005
Update of /cvsroot/pure-data/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1689
Modified Files:
convert-help-to-standard.sh
Log Message:
added test to see if any files need renaming
Index: convert-help-to-standard.sh
===================================================================
RCS file: /cvsroot/pure-data/scripts/convert-help-to-standard.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** convert-help-to-standard.sh 21 May 2005 03:09:33 -0000 1.1
--- convert-help-to-standard.sh 12 Jul 2005 04:42:43 -0000 1.2
***************
*** 11,16 ****
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/'`"
done
--- 11,18 ----
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/'`"
! fi
done
More information about the Pd-cvs
mailing list