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:
Sergei Trofimovich 2012-10-11 11:43:48 +03:00 committed by David Sterba
parent 0d5cfddc2c
commit 7385c8ab2c
1 changed files with 1 additions and 1 deletions

View File

@ -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