mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-23 14:03:10 +00:00
fix btrfs-progs version script
btrfs-progs-0.16.tar.bz2 seems to be distributed w/o an .hg, which make the version.sh script go bonk. Signed-off-by: Eric Sandeen <sandeen@redhat.com> ---
This commit is contained in:
parent
3c6e5b165d
commit
e7e7bb1727
@ -9,7 +9,7 @@
|
|||||||
v="Btrfs v0.16"
|
v="Btrfs v0.16"
|
||||||
|
|
||||||
which hg > /dev/null
|
which hg > /dev/null
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 -a -d .hg ]; then
|
||||||
last=$(hg tags | grep -m1 -o '^v[0-9.]\+')
|
last=$(hg tags | grep -m1 -o '^v[0-9.]\+')
|
||||||
|
|
||||||
# now check if the repo has commits since then...
|
# now check if the repo has commits since then...
|
||||||
|
Loading…
Reference in New Issue
Block a user