Skip to content
Snippets Groups Projects
Commit 5af52410 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

brew.sh: fix brew --version outside HOMEBREW_REPOSITORY.

parent bbed7246
No related branches found
No related tags found
No related merge requests found
HOMEBREW_VERSION="$(git describe --tags --dirty 2>/dev/null)"
HOMEBREW_VERSION="$(GIT_DIR="$HOMEBREW_REPOSITORY/.git" git describe --tags --dirty 2>/dev/null)"
if [[ -z "$HOMEBREW_VERSION" ]]
then
HOMEBREW_VERSION=">1.0.0 (no git repository)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment