projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6e5b1
)
fix btrfs-progs version script
author
Eric Sandeen
<sandeen@redhat.com>
Wed, 6 Aug 2008 16:17:01 +0000
(12:17 -0400)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Wed, 6 Aug 2008 16:17:01 +0000
(12:17 -0400)
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>
---
version.sh
patch
|
blob
|
history
diff --git
a/version.sh
b/version.sh
index
5fcf34e
..
d7988bf
100644
(file)
--- a/
version.sh
+++ b/
version.sh
@@
-9,7
+9,7
@@
v="Btrfs v0.16"
which hg > /dev/null
-if [ $? == 0 ]; then
+if [ $? == 0
-a -d .hg
]; then
last=$(hg tags | grep -m1 -o '^v[0-9.]\+')
# now check if the repo has commits since then...