diff --git a/build-support/functions/10-util.sh b/build-support/functions/10-util.sh index d4d5d79562..d884c79c1e 100644 --- a/build-support/functions/10-util.sh +++ b/build-support/functions/10-util.sh @@ -168,7 +168,7 @@ function parse_version { # When no GIT_DESCRIBE env var is present and no release is in the source then we # are definitely in dev mode - if test -z "${git_version}" -a -z "${rel_ver}" + if test -z "${git_version}" -a -z "${rel_ver}" && is_set "${use_git_env}" then rel_ver="dev" fi