Merge pull request #13505 from Bo98/fetch-fail-race-condition
cmd/update.sh: fix race condition reporting fetch failures
This commit is contained in:
commit
17a7e71d90
@ -647,7 +647,7 @@ EOS
|
||||
echo "Fetching ${DIR}..."
|
||||
fi
|
||||
|
||||
local tmp_failure_file="${HOMEBREW_REPOSITORY}/.git/TMP_FETCH_FAILURES"
|
||||
local tmp_failure_file="${DIR}/.git/TMP_FETCH_FAILURES"
|
||||
rm -f "${tmp_failure_file}"
|
||||
|
||||
if [[ -n "${HOMEBREW_UPDATE_AUTO}" ]]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user