Skip to content

Commit

Permalink
Check for .git too
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAdam committed Mar 5, 2017
1 parent ef94472 commit b2b73b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/b-em-version-str.sh
Expand Up @@ -11,6 +11,7 @@
# Intended to be called from configure.ac (via autogen.sh)
B_EM_VERSION=2.2

[ -d ".git" ] || { echo "$B_EM_VERSION" ; exit ; }

if grep -q -i '^ISRELEASED="yes"' ./configure.ac; then
# A release build. Strip the git information off the tag name.
Expand Down

0 comments on commit b2b73b0

Please sign in to comment.