Commit 4a7cb3e8 authored by Martin Pool's avatar Martin Pool

Fix sh syntax for FreeBSD.

parent 0de40240
...@@ -92,6 +92,9 @@ ...@@ -92,6 +92,9 @@
# they're in POSIX 1003.2, and since the build farm relies on them # 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. # 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 set -e
......
...@@ -101,7 +101,7 @@ checkforlogs() { ...@@ -101,7 +101,7 @@ checkforlogs() {
} }
function build_rsyncd_conf { build_rsyncd_conf() {
# Build an appropriate configuration file # Build an appropriate configuration file
conf="$scratchdir/test-rsyncd.conf" conf="$scratchdir/test-rsyncd.conf"
echo "building configuration $conf" echo "building configuration $conf"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment