X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=FIO-VERSION-GEN;h=5aed5352efb888cfaa4c2af4cdb7eff5b6785c1b;hp=4cb3545ea89e88bc47ed0968ea43fdf2136c3d62;hb=e3ccbdd5f93d33162a93000586461ac6bba5a7d3;hpb=2c3fcd7bd67209e141e259b1fdd4585e8d91167c diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index 4cb3545e..5aed5352 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.1.9 +DEF_VER=fio-3.3 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 } - -