diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-03-25 21:15:26 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-03-25 21:15:26 +0100 |
commit | 104473d4e270ca5979c79d540c9144bb72121a36 (patch) | |
tree | 2508d520ad5b95fa0e4ee44a01cab4aebab8fdc6 /contrib | |
parent | 9168e7db1121ba0992854e1364af863cfb2f76b4 (diff) | |
download | gnunet-104473d4e270ca5979c79d540c9144bb72121a36.tar.gz gnunet-104473d4e270ca5979c79d540c9144bb72121a36.zip |
-do not use potentially old version string
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/get_version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/get_version.sh b/contrib/get_version.sh index f426ed458..4917b1996 100755 --- a/contrib/get_version.sh +++ b/contrib/get_version.sh | |||
@@ -5,7 +5,7 @@ if test -f ".version" | |||
5 | then | 5 | then |
6 | VERSION=$(cat .version) | 6 | VERSION=$(cat .version) |
7 | fi | 7 | fi |
8 | if test "x$VERSION" = "x" -a -d "./.git" | 8 | if test -d "./.git" |
9 | then | 9 | then |
10 | VERSION=$(git describe --tags) | 10 | VERSION=$(git describe --tags) |
11 | VERSION=${VERSION#v} | 11 | VERSION=${VERSION#v} |