X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=FIO-VERSION-GEN;h=f0315948bf9476277650f78a22011b08cc33bef7;hp=6811d2962827b6ae8a521f51027ab591a95ba120;hb=bb661c4027e5a0482b9fcc1c1b4e7e918650ee72;hpb=6418b9cd79dadc5c42beac4a6f1f396184ab4d5b diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index 6811d296..f0315948 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.0.14 +DEF_VER=fio-3.9 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 } - -