File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [[ $COMPILER == "gcc" ]]; then
3131 PACKAGES+=(gcc-$COMPILER_VERSION )
3232elif [[ $COMPILER == " clang" ]]; then
3333 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
34- add-apt-repository " deb http://apt.llvm.org/${RELEASE} / llvm-toolchain-${RELEASE} -${COMPILER_VERSION} main"
34+ add-apt-repository -n " deb http://apt.llvm.org/${RELEASE} / llvm-toolchain-${RELEASE} -${COMPILER_VERSION} main"
3535
3636 # scan-build
3737 PACKAGES+=(clang-tools-$COMPILER_VERSION clang-$COMPILER_VERSION lldb-$COMPILER_VERSION lld-$COMPILER_VERSION clangd-$COMPILER_VERSION )
4040 exit 1
4141fi
4242
43- apt-get -y update --fix-missing
43+ # apt-get -y update --fix-missing
44+ (r=3; while ! apt-get -y update --fix-missing ; do (( -- r)) || exit; sleep 5; echo " Retrying" ; done)
45+
4446DEBIAN_FRONTEND=noninteractive apt-get -yq install " ${PACKAGES[@]} "
4547apt-get -y build-dep cryptsetup
4648
You can’t perform that action at this time.
0 commit comments