diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-03-24 03:38:31 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-03-24 03:38:31 +0000 |
commit | 833f14e6fe739de36cbef18658aab05057436636 (patch) | |
tree | d6498a7cbabe1892a85c200fa0e43b1ce5f768b7 /scripts/generate-pd-settings-files.sh | |
parent | 5ca6243bd7e2c500b551719ed115dbb24086893e (diff) |
updated function syntax to be more strictly bourne shell compatible (i.e. removed bash syntax)
svn path=/trunk/; revision=7514
Diffstat (limited to 'scripts/generate-pd-settings-files.sh')
-rwxr-xr-x | scripts/generate-pd-settings-files.sh | 16 |
1 files changed, 8 insertions, 8 deletions
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 } |