summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/get_version.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/get_version.sh b/contrib/get_version.sh
index eaa011aba..b57f3524f 100755
--- a/contrib/get_version.sh
+++ b/contrib/get_version.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-VERSION=$(git describe --tags | tr -d '\n')
+VERSION=$(git describe --tags)
VERSION=${VERSION:1:${#VERSION}}
echo $VERSION > .version
-echo $VERSION
+echo -n $VERSION