X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=FIO-VERSION-GEN;h=8c075cbd634e9d6205a61548179066743f9a59da;hb=0bcf41cdc22dfee6b3f3b2ba9a533b4b103c70c2;hp=39e34b59f8c41b2b664256e112fda21646f1f182;hpb=0cf2574b73599004958856c6e5d2e59ef5e531bf;p=fio.git diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index 39e34b59..8c075cbd 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.1.4 +DEF_VER=fio-3.1 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) ;; - v[0-9]*) + fio-[0-9]*) 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 } - -