diff options
| author | Mike McQuaid | 2017-07-13 10:06:30 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-07-13 10:06:30 +0100 |
| commit | 5709002138a1c6d6b1bf1d5ee74da21eb5aaae53 (patch) | |
| tree | b71958fc2afc4f3851f17b705083b2afc9bf4025 /Library | |
| parent | 8d7f66e520038733282eb6ecc5c3fc4233b17a18 (diff) | |
| download | brew-5709002138a1c6d6b1bf1d5ee74da21eb5aaae53.tar.bz2 | |
brew.sh: always use 7 chars for HOMEBREW_VERSION.
This avoids inconsistency based on Git versions.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/brew.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index 97c3b7f86..638e9dc19 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -1,4 +1,4 @@ -HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty 2>/dev/null)" +HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty --abbrev=7 2>/dev/null)" HOMEBREW_USER_AGENT_VERSION="$HOMEBREW_VERSION" if [[ -z "$HOMEBREW_VERSION" ]] then |
