Merge pull request #16465 from MikeMcQuaid/user_working_directory_readable

brew: clarify which user needs to be able to read the working directory.
This commit is contained in:
Mike McQuaid 2024-01-11 13:38:42 +00:00 committed by GitHub
commit dca9ff865a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ then
fi
if ! [[ -r "$(pwd)" ]]
then
odie "The current working directory must be readable to run brew."
odie "The current working directory must be readable to ${USER} to run brew."
fi
#####

View File

@ -25,7 +25,7 @@ then
fi
if ! [[ -r "${PWD}" ]]
then
echo "Error: The current working directory must be readable to run brew." >&2
echo "Error: The current working directory must be readable to ${USER} to run brew." >&2
exit 1
fi