fetchbzr: set cache directory to tmpdir

Breezy >3.3 writes the connections information to a cache directory,
which fails on sandbox.
This commit is contained in:
Mario Rodas 2023-03-01 04:20:00 +00:00
parent a1f0f485c4
commit b82b2b5303

View File

@ -5,4 +5,4 @@ echo "exporting \`$url' (revision $rev) into \`$out'"
# Perform a lightweight checkout so that we don't end up importing
# all the repository's history.
BZR_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"
XDG_CACHE_HOME="$TMPDIR" BRZ_LOG=/dev/null bzr -Ossl.cert_reqs=none export -r "$rev" --format=dir "$out" "$url"