Skip to content
Snippets Groups Projects
Commit 242fb750 authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Paolo Bonzini
Browse files

build-sys: fix git version from -version


Typo introduced with the script.

Fixes: 2c273f32 ("meson: generate qemu-version.h")
Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
Reported-by: default avatarLaszlo Ersek <lersek@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Tested-by: default avatarLaszlo Ersek <lersek@redhat.com>
Message-Id: <20200929143654.518157-1-marcandre.lureau@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent bab88ead
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ version="$3"
if [ -z "$pkgversion" ]; then
cd "$dir"
if [ -e .git ]; then
pkgversion=$(git describe --match 'v*' --dirty | echo "")
pkgversion=$(git describe --match 'v*' --dirty) || :
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment