projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: Introduce libzbc IO engine
[fio.git]
/
FIO-VERSION-GEN
diff --git
a/FIO-VERSION-GEN
b/FIO-VERSION-GEN
index fcdbd98611982e6c7f18a8f0fda0c4dafac6b3e4..3220aaa1f6dcfae63f579e31904cccc586a7139c 100755
(executable)
--- a/
FIO-VERSION-GEN
+++ b/
FIO-VERSION-GEN
@@
-1,7
+1,7
@@
#!/bin/sh
GVF=FIO-VERSION-FILE
#!/bin/sh
GVF=FIO-VERSION-FILE
-DEF_VER=fio-
2.
9
+DEF_VER=fio-
3.1
9
LF='
'
LF='
'
@@
-15,7
+15,7
@@
elif test -d .git -o -f .git &&
VN=`git describe --match "fio-[0-9]*" --abbrev=4 HEAD 2>/dev/null` &&
case "$VN" in
*$LF*) (exit 1) ;;
VN=`git describe --match "fio-[0-9]*" --abbrev=4 HEAD 2>/dev/null` &&
case "$VN" in
*$LF*) (exit 1) ;;
-
v
[0-9]*)
+
fio-
[0-9]*)
git update-index -q --refresh
test -z "`git diff-index --name-only HEAD --`" ||
VN="$VN-dirty" ;;
git update-index -q --refresh
test -z "`git diff-index --name-only HEAD --`" ||
VN="$VN-dirty" ;;
@@
-38,5
+38,3
@@
test "$VN" = "$VC" || {
echo >&2 "FIO_VERSION = $VN"
echo "FIO_VERSION = $VN" >$GVF
}
echo >&2 "FIO_VERSION = $VN"
echo "FIO_VERSION = $VN" >$GVF
}
-
-