diff options
Diffstat (limited to 'contrib/get_version.sh')
-rwxr-xr-x | contrib/get_version.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/get_version.sh b/contrib/get_version.sh index 778d8efe5..8479202f3 100755 --- a/contrib/get_version.sh +++ b/contrib/get_version.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/bash |
2 | # Gets the version number from git, or from the contents of .version | 2 | # Gets the version number from git, or from the contents of .version |
3 | VERSION= | 3 | VERSION= |
4 | if test -f ".version" | 4 | if test -f ".version" |
@@ -15,4 +15,4 @@ if test "x$VERSION" = "x" | |||
15 | then | 15 | then |
16 | VERSION="unknown" | 16 | VERSION="unknown" |
17 | fi | 17 | fi |
18 | echo -n "$VERSION" | 18 | echo "$VERSION"\c |