Skip to content

Commit 5629986

Browse files
committed
Update util/nrl/batch_install.sh: ignore errors when updating cargo mirrors
1 parent b22b701 commit 5629986

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

util/nrl/batch_install.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,10 +569,13 @@ for compiler in "${SPACK_STACK_BATCH_COMPILERS[@]}"; do
569569
spack mirror create -a -d ${source_mirror_path}
570570
fi
571571

572-
# Update local cargo mirror if requested
572+
# Update local cargo mirror if requested; this can be
573+
# unreliable, therefore ignore errors and proceed ...
573574
if [[ "${update_cargo_mirror}" == "true"* ]]; then
575+
set +e
574576
echo "Updating local cargo mirror ..."
575577
./util/fetch_cargo_deps.py
578+
set -e
576579
fi
577580

578581
# Install the environment with the correct flags

0 commit comments

Comments
 (0)