aboutsummaryrefslogtreecommitdiff
path: root/ci/test
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-15 23:27:39 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2023-08-16 10:30:51 +0200
commitfa6e5d3eeffebf81b5d7ca99bf7b5e70356516ab (patch)
tree0b08757242a7f26baa48ae5a316f0f684a2d1a00 /ci/test
parentfa193f5dfc937a7ff8e12b9ffd21861046a46489 (diff)
downloadbitcoin-fa6e5d3eeffebf81b5d7ca99bf7b5e70356516ab.tar.xz
ci: Avoid error on macOS native
This avoids "mkdir: /ci_container_base: Read-only file system"
Diffstat (limited to 'ci/test')
-rwxr-xr-xci/test/00_setup_env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh
index ca6380d3f4..c479a8a3fe 100755
--- a/ci/test/00_setup_env.sh
+++ b/ci/test/00_setup_env.sh
@@ -15,7 +15,7 @@ export BASE_READ_ONLY_DIR
# The destination root dir inside the container.
# This folder will also hold any SDKs.
# This folder only exists on the ci guest and will be a copy of BASE_READ_ONLY_DIR
-export BASE_ROOT_DIR="/ci_container_base"
+export BASE_ROOT_DIR="${BASE_ROOT_DIR:-/ci_container_base}"
# The depends dir.
# This folder exists only on the ci guest, and on the ci host as a volume.
export DEPENDS_DIR=${DEPENDS_DIR:-$BASE_ROOT_DIR/depends}