diff --git a/version/long.txt.do b/version/long.txt.do index c62151806..af4b859f5 100644 --- a/version/long.txt.do +++ b/version/long.txt.do @@ -1,4 +1,4 @@ -ver=$(git describe | sed 's/^v//') +ver=$(cd ../.. && git describe | sed 's/^v//') if [ "$ver" = "${ver%-*}" ]; then # no sub-version. ie. it's 0.05 and not 0.05-341 # so add a sub-version.