From b733d0e674efe47054117d3e1effe13c8a01a11b Mon Sep 17 00:00:00 2001 From: n4n5 Date: Mon, 15 Dec 2025 18:18:35 -0700 Subject: [PATCH 1/3] shell: pipefail is not included in /bin/sh --- script/import-database-dump.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/script/import-database-dump.sh b/script/import-database-dump.sh index e158ed2a0f0..f6e5177e4bc 100755 --- a/script/import-database-dump.sh +++ b/script/import-database-dump.sh @@ -6,7 +6,6 @@ set -o errexit set -o nounset -set -o pipefail readonly TARBALL_PATH="tmp/db-dump.tar.gz" readonly DUMP_PATH="tmp/db-dump" From 31e514c089f110a7a233ea3353a1f066babcdff5 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Tue, 16 Dec 2025 08:31:10 -0700 Subject: [PATCH 2/3] Update import-database-dump.sh --- script/import-database-dump.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/import-database-dump.sh b/script/import-database-dump.sh index f6e5177e4bc..2b977f878de 100755 --- a/script/import-database-dump.sh +++ b/script/import-database-dump.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/env bash # Downloads the database dump tarball from crates.io and imports it # into the `cargo_registry` database. If the database already exists it @@ -6,6 +6,7 @@ set -o errexit set -o nounset +set -o pipefail readonly TARBALL_PATH="tmp/db-dump.tar.gz" readonly DUMP_PATH="tmp/db-dump" From ad49b59d9a58d5551dfa504a92a10005ac92a764 Mon Sep 17 00:00:00 2001 From: n4n5 Date: Tue, 16 Dec 2025 08:31:50 -0700 Subject: [PATCH 3/3] Update import-database-dump.sh --- script/import-database-dump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import-database-dump.sh b/script/import-database-dump.sh index 2b977f878de..d90ae01d1d7 100755 --- a/script/import-database-dump.sh +++ b/script/import-database-dump.sh @@ -1,4 +1,4 @@ -#!/bin/env bash +#!/usr/bin/env bash # Downloads the database dump tarball from crates.io and imports it # into the `cargo_registry` database. If the database already exists it