diff options
author | Thomas Huth <thuth@redhat.com> | 2020-08-23 12:26:17 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-27 18:52:30 +0200 |
commit | 72bfe8ea63f98bbe3e4d709462cc543fb0187d32 (patch) | |
tree | b4c0aab2d269925cfab844b643ea6f8ed4a493d5 /scripts/qemu-version.sh | |
parent | 568ac779a4111484d9bf9fa7364a62d5d5cf9079 (diff) |
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>
Diffstat (limited to 'scripts/qemu-version.sh')
-rwxr-xr-x | scripts/qemu-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemu-version.sh b/scripts/qemu-version.sh index 4847385e42..03128c56a2 100755 --- a/scripts/qemu-version.sh +++ b/scripts/qemu-version.sh @@ -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 "") |