cmd/update.sh: fix race condition reporting fetch failures
This commit is contained in:
parent
d541ab089e
commit
7390022b0e
@ -647,7 +647,7 @@ EOS
|
|||||||
echo "Fetching ${DIR}..."
|
echo "Fetching ${DIR}..."
|
||||||
fi
|
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}"
|
rm -f "${tmp_failure_file}"
|
||||||
|
|
||||||
if [[ -n "${HOMEBREW_UPDATE_AUTO}" ]]
|
if [[ -n "${HOMEBREW_UPDATE_AUTO}" ]]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user