scripts/qemu-version.sh: Add missing space before ']'

When configure has been run with --with-pkgversion=xyz, the shell complains
about a missing ']' in this script.

Fixes: 2c273f32d3 ("meson: generate qemu-version.h")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Thomas Huth 2020-08-23 12:26:17 +02:00 committed by Paolo Bonzini
parent 568ac779a4
commit 72bfe8ea63
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ dir="$1"
pkgversion="$2"
version="$3"
if [ -z "$pkgversion"]; then
if [ -z "$pkgversion" ]; then
cd "$dir"
if [ -e .git ]; then
pkgversion=$(git describe --match 'v*' --dirty | echo "")