Skip to content

Commit

Permalink
Merge pull request #18221 from blazczak/master
Browse files Browse the repository at this point in the history
Fix SyntaxError introduced by a refactor in bc0f5ee
  • Loading branch information
ZhongRuoyu authored Sep 1, 2024
2 parents 21443e6 + 245c937 commit 33f53dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/utils/lock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ _create_lock() {
flock -n "${lock_file_descriptor}"
elif [[ -x "${python}" ]]
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
onoe "Cannot create \`brew ${command_name_and_args}\` lock due to missing/too old ruby/flock/python, please avoid running Homebrew in parallel."
fi
Expand Down

0 comments on commit 33f53dd

Please sign in to comment.