version.sh: fix version when built from tarball
[from 0.20-rc1 tarball] Before the patch: $ ./btrfs --version Btrfs Btrfs v0.19 After the patch: $ ./btrfs --version Btrfs v0.20-rc1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
0d5cfddc2c
commit
7385c8ab2c
|
@ -6,7 +6,7 @@
|
|||
# Copyright 2008, Oracle
|
||||
# Released under the GNU GPLv2
|
||||
|
||||
v="Btrfs v0.19"
|
||||
v="v0.20-rc1"
|
||||
|
||||
which git &> /dev/null
|
||||
if [ $? == 0 -a -d .git ]; then
|
||||
|
|
Loading…
Reference in New Issue