X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=FIO-VERSION-GEN;h=eac0e00adb0f291cead8d1e3cbccdbf513ff7552;hp=597e615fae500106e8d1952cb1cd7802d3f0c88e;hb=a0290964d9e15aa9faa5a139effc14cfa5bcd3f1;hpb=a8381d78ec52d00541ddd7ef8bd7584e99361b0e diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index 597e615f..eac0e00a 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.6 +DEF_VER=fio-2.15 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 } - -