Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
20 lines
495 B
Diff
20 lines
495 B
Diff
--- a/couchdb-dump.sh 1970-01-01 01:00:01.000000000 +0100
|
|
+++ b/couchdb-dump.sh 2025-05-21 10:08:22.092922719 +0200
|
|
@@ -182,15 +182,8 @@
|
|
fi
|
|
file_name_orig=$file_name
|
|
|
|
-# Get OS TYPE (Linux for Linux, Darwin for MacOSX)
|
|
-os_type=`uname -s`
|
|
+sed_cmd="@sed_cmd@";
|
|
|
|
-# Pick sed or gsed
|
|
-if [ "$os_type" = "FreeBSD" ]||[ "$os_type" = "Darwin" ]; then
|
|
- sed_cmd="gsed";
|
|
-else
|
|
- sed_cmd="sed";
|
|
-fi
|
|
## Make sure it's installed
|
|
echo | $sed_cmd 's/a//' >/dev/null 2>&1
|
|
if [ ! $? = 0 ]; then
|