From nobody Sun May 5 09:46:33 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1601390298; cv=none; d=zohomail.com; s=zohoarc; b=R+G+a0engSNIk474GRiDdrc43E/lLqsQ8ufjKXIcaJMbW1O3gURoVpjts8LV9zdL3lk4kidxA76b26mxIlkJFQ6bUzEXpFGmF+XYfDVCyRzs5oSr8tUDjUWWpmYsofmndt+xOUWesdFoqYVGGN6iyOHJknrpz6NQaCLn9gTYC2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601390298; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=flBhAXPNP9LY0zDXm4yDNicuTmsaCCyrS04HuSWkPIs=; b=KwE+L7ynKNJiKh0qCADB8kyjF5RKJI+znWN/PduHLZ5wg9Nn+Taf8e4QvY7XQuHQh2L8bWSUTShp47DjSozst2rDSR827/VzMrp9t1wJ+q0+Njq694JiB98yOJGMlG4n5QEzEQYIzJ+jQ+hhbLIGWZsTSfS3diXzXivk4xpReOE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1601390298642685.7577060555775; Tue, 29 Sep 2020 07:38:18 -0700 (PDT) Received: from localhost ([::1]:57254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kNGll-0002uJ-3K for importer@patchew.org; Tue, 29 Sep 2020 10:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kNGkd-0002EV-OG for qemu-devel@nongnu.org; Tue, 29 Sep 2020 10:37:07 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kNGkc-0001RA-4J for qemu-devel@nongnu.org; Tue, 29 Sep 2020 10:37:07 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-179-I-t2kK1lPv-VGMf_0YQ5xw-1; Tue, 29 Sep 2020 10:37:03 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 58C131DDF3 for ; Tue, 29 Sep 2020 14:37:02 +0000 (UTC) Received: from localhost (unknown [10.36.110.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id 24C295C1D0; Tue, 29 Sep 2020 14:36:56 +0000 (UTC) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601390225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=flBhAXPNP9LY0zDXm4yDNicuTmsaCCyrS04HuSWkPIs=; b=Zn9K48rXi8JWYayUnO0hv7VUSefk0M1M88RvUczc6+mmPYHt7QAHhNLDnOoq18//K0kz2I 0iC2GY1ejJdjmcrgeMA3d4N/Koz03/v9UbpSpwLe0oOl/9+OLEuzD4sV2sFAqXatsGBnQH J4B3BAXTUayD77ux94OtqtmV+reioTU= X-MC-Unique: I-t2kK1lPv-VGMf_0YQ5xw-1 From: marcandre.lureau@redhat.com To: qemu-devel@nongnu.org Subject: [PATCH v2] build-sys: fix git version from -version Date: Tue, 29 Sep 2020 18:36:54 +0400 Message-Id: <20200929143654.518157-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=marcandre.lureau@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=marcandre.lureau@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/29 02:22:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.687, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pbonzini@redhat.com, lersek@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Marc-Andr=C3=A9 Lureau Typo introduced with the script. Fixes: 2c273f32d3 ("meson: generate qemu-version.h") Signed-off-by: Marc-Andr=C3=A9 Lureau Reported-by: Laszlo Ersek Reviewed-by: Eric Blake Tested-by: Laszlo Ersek --- scripts/qemu-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qemu-version.sh b/scripts/qemu-version.sh index 03128c56a2..3f6e7e6d41 100755 --- a/scripts/qemu-version.sh +++ b/scripts/qemu-version.sh @@ -9,7 +9,7 @@ version=3D"$3" if [ -z "$pkgversion" ]; then cd "$dir" if [ -e .git ]; then - pkgversion=3D$(git describe --match 'v*' --dirty | echo "") + pkgversion=3D$(git describe --match 'v*' --dirty) || : fi fi =20 --=20 2.26.2