Fix sh syntax for FreeBSD.

This commit is contained in:
Martin Pool committed 2001-08-31 09:26:34 +00:00
1 parent 0de40240bb
commit 4a7cb3e8a8
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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
+1 -1
View 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"