mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 22:28:16 -04:00
Fix sh syntax for FreeBSD.
This commit is contained in:
1 parent
0de40240bb
commit
4a7cb3e8a8
2 files changed
+4
-1
No files matched your search
@@ -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
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user