1--- a/couchdb-dump.sh 1970-01-01 01:00:01.000000000 +0100
2+++ b/couchdb-dump.sh 2025-05-21 10:08:22.092922719 +0200
3@@ -182,15 +182,8 @@
4 fi
5 file_name_orig=$file_name
6
7-# Get OS TYPE (Linux for Linux, Darwin for MacOSX)
8-os_type=`uname -s`
9+sed_cmd="@sed_cmd@";
10
11-# Pick sed or gsed
12-if [ "$os_type" = "FreeBSD" ]||[ "$os_type" = "Darwin" ]; then
13- sed_cmd="gsed";
14-else
15- sed_cmd="sed";
16-fi
17 ## Make sure it's installed
18 echo | $sed_cmd 's/a//' >/dev/null 2>&1
19 if [ ! $? = 0 ]; then