Merge pull request #18221 from blazczak/master
Fix SyntaxError introduced by a refactor in bc0f5ee
This commit is contained in:
commit
33f53ddb36
@ -64,7 +64,7 @@ _create_lock() {
|
|||||||
flock -n "${lock_file_descriptor}"
|
flock -n "${lock_file_descriptor}"
|
||||||
elif [[ -x "${python}" ]]
|
elif [[ -x "${python}" ]]
|
||||||
then
|
then
|
||||||
"${python}" -c "import fcntl; fcntl.flock(${lock_fd}, fcntl.LOCK_EX | fcntl.LOCK_NB)"
|
"${python}" -c "import fcntl; fcntl.flock(${lock_file_descriptor}, fcntl.LOCK_EX | fcntl.LOCK_NB)"
|
||||||
else
|
else
|
||||||
onoe "Cannot create \`brew ${command_name_and_args}\` lock due to missing/too old ruby/flock/python, please avoid running Homebrew in parallel."
|
onoe "Cannot create \`brew ${command_name_and_args}\` lock due to missing/too old ruby/flock/python, please avoid running Homebrew in parallel."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user