X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=FIO-VERSION-GEN;h=f82aeee860e86aa6151d8c643c413d1ed9f78e8d;hb=6e344dc3445bfec0583072e82bea728ab8d54d58;hp=108ca4b0d671a2b642c0ba13831ba854aae467f2;hpb=1246147d5402d46ecb098dc06c9b31bf6810800c;p=fio.git diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index 108ca4b0..f82aeee8 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.2.13 +DEF_VER=fio-2.99 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 } - -