]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Fix sh syntax for FreeBSD.
authorMartin Pool <mbp@samba.org>
Fri, 31 Aug 2001 09:26:34 +0000 (09:26 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 31 Aug 2001 09:26:34 +0000 (09:26 +0000)
runtests.sh
testsuite/rsync.fns

index 5c672dd27debea9f9975b03faaf541074ce8fe68..77a2fa97ae417df2f34e55ba13c60eca245b53a7 100755 (executable)
@@ -92,6 +92,9 @@
 # they're in POSIX 1003.2, and since the build farm relies on them
 # they're probably working on most machines we really care about.
 
+# You cannot use "function foo {" syntax, but must instead say "foo()
+# {", or it breaks on FreeBSD.
+
 
 set -e
 
index f5869a4926903c964a206dc746c47743831ded52..a80a96cb943a7dee58973a09ff46870065a573f0 100644 (file)
@@ -101,7 +101,7 @@ checkforlogs() {
 }
 
 
-function build_rsyncd_conf {
+build_rsyncd_conf() {
     # Build an appropriate configuration file
     conf="$scratchdir/test-rsyncd.conf"
     echo "building configuration $conf"