summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2021-10-09 14:32:50 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2021-10-09 14:32:50 +0200
commit17e293fee4eaaf56f23d6e193373451195a121a0 (patch)
treedaef765d5be70943bb80515285eae8cce024a09d /contrib
parent3b49f6a2bb02e9f0cb4bc991e26360f4cc0860b4 (diff)
-bashism
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/get_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/get_version.sh b/contrib/get_version.sh
index 2d2acf0be..eaa011aba 100755
--- a/contrib/get_version.sh
+++ b/contrib/get_version.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
VERSION=$(git describe --tags | tr -d '\n')
VERSION=${VERSION:1:${#VERSION}}
echo $VERSION > .version