Skip to contentSkip to conversation

meson: Fix shell script syntax in qemu-version.sh

PATCH In review Bruce Rogers 2 participants 2 messages Aug 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: Fix shell script syntax in qemu-version.sh

There needs to be a space before the closing bracket.

---
 scripts/qemu-version.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/qemu-version.sh +1 -1
index 4847385e42..03128c56a2 100755
@@ -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 "")
Signature · 1 line
2.28.0
#1 lore raw
Quoted 6 lines · Bruce Rogers

There needs to be a space before the closing bracket.

---
  scripts/qemu-version.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Duplicate of https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg05549.html

Quoted 15 lines
scripts/qemu-version.sh +1 -1
index 4847385e42..03128c56a2 100755
@@ -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 "")
Signature · 3 lines
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org