diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-02-14 23:28:28 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-02-14 23:28:28 +0000 |
commit | 54e727a9f4ec6263b4afe53afef6af83ea1e5c54 (patch) | |
tree | a6fb9bee7953d50de44cee264148cd69dbf7a692 /scripts | |
parent | fb1cf65d038658395f1ee31083cf2603905ba9e5 (diff) |
A couple of minor tweaks from a long time ago
svn path=/trunk/; revision=9444
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/load_every_help.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/load_every_help.sh b/scripts/load_every_help.sh index 2a5c0a71..43260050 100755 --- a/scripts/load_every_help.sh +++ b/scripts/load_every_help.sh @@ -10,7 +10,7 @@ bindir=${PD_ROOT}/bin make_netreceive_patch () { - rm $1 + test -f $1 && rm $1 touch $1 echo '#N canvas 222 130 454 304 10;' >> $1 echo "#X obj 111 83 netreceive $PORT_NUMBER 0 old;" >> $1 @@ -18,14 +18,16 @@ make_netreceive_patch () open_patch () { + echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" >> $LOG_FILE echo "OPENING: $1 $2" >> $LOG_FILE echo "; pd open $1 $2;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp } close_patch () { - echo "CLOSING: $1" >> $LOG_FILE +# echo "CLOSING: $1" >> $LOG_FILE echo "; pd-$1 menuclose;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp + echo "________________________________________________________________________________" >> $LOG_FILE } |