From ed6904a5c0732424f34c5b3ba42eb6974ca62f26 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Jun 2018 08:27:05 +0200 Subject: make "git remote update" failure non-fatal - if it is actually required, we will fail later anyways --- bin/build-packages | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/build-packages') diff --git a/bin/build-packages b/bin/build-packages index aa77b00..adc3aaa 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -248,7 +248,8 @@ while [ "${count}" -ne 0 ] && \ for repo_name in ${repo_names}; do eval repo_path='"${repo_paths__'"${repo_name}"'}"' - git -C "${repo_path}" remote update + git -C "${repo_path}" remote update || \ + true done git_repo=$(find_repository_with_commit "${git_revision}") -- cgit v1.2.3-54-g00ecf