diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/auto-build/pure-data-cvs-rsync-checkout | 2 | ||||
-rwxr-xr-x | scripts/checkout-developer-layout.sh | 2 | ||||
-rwxr-xr-x | scripts/generate-libdir-metafile.sh | 2 | ||||
-rwxr-xr-x | scripts/generate-pd-settings-files.sh | 16 | ||||
-rwxr-xr-x | scripts/load_every_help.sh | 6 | ||||
-rwxr-xr-x | scripts/load_every_object.sh | 8 |
6 files changed, 18 insertions, 18 deletions
diff --git a/scripts/auto-build/pure-data-cvs-rsync-checkout b/scripts/auto-build/pure-data-cvs-rsync-checkout index bfeca6bc..ecaa870b 100755 --- a/scripts/auto-build/pure-data-cvs-rsync-checkout +++ b/scripts/auto-build/pure-data-cvs-rsync-checkout @@ -9,7 +9,7 @@ SCRIPT_DIR=`echo $0 | sed 's|\(.*\)/.*$|\1|'` SCRIPT=`echo $0| sed 's|.*/\(.*\)|\1|g'` LOGFILE=/home/pd/logs/${DATE}_${TIME}_-_${SCRIPT}_-_${SYSTEM}.txt -function update_distro () +update_distro () { distro=$1 echo "------------------------------------------------------------" >> $LOGFILE 2>&1 diff --git a/scripts/checkout-developer-layout.sh b/scripts/checkout-developer-layout.sh index 2f8cf9b4..d44c8762 100755 --- a/scripts/checkout-developer-layout.sh +++ b/scripts/checkout-developer-layout.sh @@ -10,7 +10,7 @@ # Be aware that SourceForge's anonymous CVS server is generally 24 hours # behind the authenticated CVS. -function print_usage () +print_usage () { echo " " echo "Usage: $0 [sourceforge ID]" diff --git a/scripts/generate-libdir-metafile.sh b/scripts/generate-libdir-metafile.sh index a6a22806..a745c80d 100755 --- a/scripts/generate-libdir-metafile.sh +++ b/scripts/generate-libdir-metafile.sh @@ -9,7 +9,7 @@ Y=10 # Usage: print_pd_text($to_file, $meta_type, $text_to_print) -function print_pd_text () +print_pd_text () { file_name="$1"; shift meta_type="$1"; shift diff --git a/scripts/generate-pd-settings-files.sh b/scripts/generate-pd-settings-files.sh index 4befa517..40713350 100755 --- a/scripts/generate-pd-settings-files.sh +++ b/scripts/generate-pd-settings-files.sh @@ -29,12 +29,12 @@ echo -e $MACOSX_HEADER > $MACOSX_FILE echo -e $WINDOWS_HEADER > $WINDOWS_FILE # GNU/Linux -------------------------------------------------------------------# -function print_gnulinux () +print_gnulinux () { echo "loadlib$1: $2" >> $GNULINUX_FILE } -function print_gnulinux_fontpath () +print_gnulinux_fontpath () { i=0 for fontpath in $GNULINUX_FONTPATH; do @@ -43,19 +43,19 @@ function print_gnulinux_fontpath () done } -function print_gnulinux_footer () +print_gnulinux_footer () { echo "nloadlib: $1" >> $GNULINUX_FILE } # Mac OS X --------------------------------------------------------------------# -function print_macosx () +print_macosx () { echo -e "\t<key>loadlib$1</key>" >> $MACOSX_FILE echo -e "\t<string>$2</string>" >> $MACOSX_FILE } -function print_macosx_fontpath () +print_macosx_fontpath () { i=0 for fontpath in $MACOSX_FONTPATH; do @@ -66,12 +66,12 @@ function print_macosx_fontpath () } # Windows ---------------------------------------------------------------------# -function print_windows () +print_windows () { echo "\"loadlib$1\"=\"$2\"" >> $WINDOWS_FILE } -function print_windows_fontpath () +print_windows_fontpath () { j=0 for fontpath in $WINDOWS_FONTPATH; do @@ -80,7 +80,7 @@ function print_windows_fontpath () done } -function print_windows_delete () +print_windows_delete () { echo "\"${1}${2}\"=-" >> $WINDOWS_FILE } diff --git a/scripts/load_every_help.sh b/scripts/load_every_help.sh index 4bd5951d..2a5c0a71 100755 --- a/scripts/load_every_help.sh +++ b/scripts/load_every_help.sh @@ -8,7 +8,7 @@ LOG_FILE=/tmp/load_every_help-log-`date +20%y-%m-%d_%H.%M.%S`.txt helpdir=${PD_ROOT}/doc bindir=${PD_ROOT}/bin -function make_netreceive_patch () +make_netreceive_patch () { rm $1 touch $1 @@ -16,13 +16,13 @@ function make_netreceive_patch () echo "#X obj 111 83 netreceive $PORT_NUMBER 0 old;" >> $1 } -function open_patch () +open_patch () { echo "OPENING: $1 $2" >> $LOG_FILE echo "; pd open $1 $2;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp } -function close_patch () +close_patch () { echo "CLOSING: $1" >> $LOG_FILE echo "; pd-$1 menuclose;" | ${bindir}/pdsend $PORT_NUMBER localhost tcp diff --git a/scripts/load_every_object.sh b/scripts/load_every_object.sh index eadc0552..d1916554 100755 --- a/scripts/load_every_object.sh +++ b/scripts/load_every_object.sh @@ -40,7 +40,7 @@ else fi -function make_netreceive_patch () +make_netreceive_patch () { rm $1 touch $1 @@ -48,7 +48,7 @@ function make_netreceive_patch () echo "#X obj 111 83 netreceive $PORT_NUMBER 0 old;" >> $1 } -function make_patch () +make_patch () { rm $2 touch $2 @@ -57,13 +57,13 @@ function make_patch () echo "#X obj 111 83 $object;" >> $2 } -function open_patch () +open_patch () { echo "OPENING: $1 $2" >> $LOG_FILE echo "; pd open $1 $2;" | ${PDSEND} $PORT_NUMBER localhost tcp } -function close_patch () +close_patch () { echo "CLOSING: $1" >> $LOG_FILE echo "; pd-$1 menuclose;" | ${PDSEND} $PORT_NUMBER localhost tcp |