Skip to content
Snippets Groups Projects
Unverified Commit d607fdfc authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #5642 from hmnd/patch-1

Fix printf error on bash launch
parents a198b0ef ad4b3b0e
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ git() {
numeric() {
# Condense the exploded argument into a single return value.
# shellcheck disable=SC2086,SC2183
printf "%01d%02d%02d%02d" ${1//./ }
printf "%01d%02d%02d%02d" ${1//[.rc]/ }
}
HOMEBREW_VERSION="$(git -C "$HOMEBREW_REPOSITORY" describe --tags --dirty --abbrev=7 2>/dev/null)"
......
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