From patchwork Thu Aug 25 15:06:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 599966 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp354393mae; Thu, 25 Aug 2022 08:08:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR72BZCuS6nB1HU/YJiEkwp4DDBxVhmaqFAguUcWQvLRFhQxrY40VESqCEftr16ifm+1qIIf X-Received: by 2002:ac8:5c47:0:b0:343:6be3:6c3b with SMTP id j7-20020ac85c47000000b003436be36c3bmr4038449qtj.460.1661440139130; Thu, 25 Aug 2022 08:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661440139; cv=none; d=google.com; s=arc-20160816; b=drKWxIn/GJTzcAhI+wjLCAT0KDzxMmoZU0/kgCTFOlarwCDPrVl0xWNzg1j/PgMVSQ EeT1HflSBm8OLg2xZS1PIn7joh79jAhXeJ8SPJNRR+1xuEurVMb0InlHwYhl2GSsNClG drK8O0lT4pVcFtTPrAxCLOxd0KW0BDfhfVLDpEUFNKEScnuzb6w0MYd42kyqV+Tn6/jo MWHHxHDmnKKyB8WFO26zCZSBop43HHUPO1BOr8o9/qD9oAn4+bZ6h+AO0CsjHXnNc8yc q77kmNLIT+KOh+4P2gk1SZ4RE92e4q3Z+5JeG4g3/UTrtM/O0djTdwU9fqAcucPkOJyo x/Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=pSiIncZzGjaZMw10X5ARXYatNwiGYudeI44xdrbIrvk=; b=g9ZBCnFr48hOE3iX2OzhDG7wjxwqJ3W8rRQ4wskxTGeEi6Enjmg9liEfy94X0AGKHz tG5sZPEHm8Ub9QgmxDPw/EQydIWMbxge9cI3GL5uVAfjz6myMYkfcf7bukQclQznDUzB Xa3OI8R6448JWBdFxWSducqFKYKVpeIYAIbJC/qSLpGV0GqSALhSTwytJ2VDoB3UrnIK bzh5R6zBbmjTQFOntVi+m5EQP4GvqzRiAde1Do6c5BQ7g6Qsue8jw7NO30kPMsL3X2zM jX5u+Exwj4MvAzMfhbs4mKu8yHYkxW6Y1DpvvXuUDDx7bOJHwrjOLjuB3kM4wjXm3TzR ePRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MaRhmdpG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k14-20020ad45bee000000b00496dc7810fesi5990908qvc.297.2022.08.25.08.08.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Aug 2022 08:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MaRhmdpG; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRETa-0003uc-OW for patch@linaro.org; Thu, 25 Aug 2022 11:08:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRERp-0003uJ-P1 for qemu-devel@nongnu.org; Thu, 25 Aug 2022 11:07:09 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:36510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRERo-0002Lc-4F for qemu-devel@nongnu.org; Thu, 25 Aug 2022 11:07:09 -0400 Received: by mail-wr1-x42a.google.com with SMTP id d16so19714753wrr.3 for ; Thu, 25 Aug 2022 08:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc; bh=pSiIncZzGjaZMw10X5ARXYatNwiGYudeI44xdrbIrvk=; b=MaRhmdpGAmEBbI+6X7BYQ6K2LuDaBsuUYTdnZQSGvuiJ8gYXxVnse1d/cVw54BMitb dgbkTTZqYuhMhwzJm32JF71Y+arBNKN9Y+/nOO0Z1PFOq1UEIlyjcleqP4QpRGSG3E5K 8cA9yATTinGDHjcxiwJQ9XZsQ9vSXXeq394kxeQKBhalLXmmuwNNN7pgAu35L564w+ME 7n8csX6XgH6g0dhiYD40+WcLW6NOiHr/+4pGp4Dm4FKiy+dsDbX48DpKxxUeLVsDQ4/z MtboU7nG8lYhIDxYWfZPgmRge++2kExhqQ6w1QJS45GE7/IZPasborModCCzUGMB2ioa lt8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc; bh=pSiIncZzGjaZMw10X5ARXYatNwiGYudeI44xdrbIrvk=; b=8FT8SpU6MwZqWNz3a4XFXfYxzFKuWZuhnxPpxInF8pso0az2d0splfsj6UrFqc3yA7 swEDlVfUJbEpVWDR3PMXmdDUGzKmz57rFZRtMZJK/G1ORsn4X8za0Ow93iLajznETwSP J5SUgns+w+6leUWLFRfqB+Yatn+XTTySxrcV0+iI/hEV8jX/hX8qym2yt5sRnBLvPIA+ XGwOAofjnziRpiUJXHpgDMj1ESKAJABj5D7n5G9r1xzlhVOfhxtW5kNHKJ5XZvCuwqzs eF1szA6l9ey9KAMTlsCYkX9R3h2/iHP+VtoLOrYLzaX7TbTrEKsM+0bom1SvYdI1xMcB E48w== X-Gm-Message-State: ACgBeo2VKng4xoagI4MSIOpk/Zitmom3b5EXrGL2V6wLINxK8fm6wnOu SzcvXuy27UbIq7ind64/I+BTfFZ79VBsnA== X-Received: by 2002:a5d:684a:0:b0:225:4363:c4e9 with SMTP id o10-20020a5d684a000000b002254363c4e9mr2511896wrw.309.1661440026067; Thu, 25 Aug 2022 08:07:06 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id bo20-20020a056000069400b0022585f6679dsm1064638wrb.106.2022.08.25.08.07.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 08:07:05 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PATCH 0/7] configure: fix misc shellcheck warnings Date: Thu, 25 Aug 2022 16:06:56 +0100 Message-Id: <20220825150703.4074125-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Currently if you run shellcheck on our configure script it generates a ton of warnings. This patchset fixes some of the easier ones. I wasn't aiming for completeness or consistency; I just wanted to zap some of the ones where the fix is clear and didn't take long to write and is hopefully easy to review. We can always come back and take another swing at it later. thanks -- PMM Peter Maydell (7): configure: Remove unused python_version variable configure: Remove unused meson_args variable configure: Add missing quoting for some easy cases configure: Add './' on front of glob of */config-devices.mak.d configure: Remove use of backtick `...` syntax configure: Check mkdir result directly, not via $? configure: Avoid use of 'local' as it is non-POSIX configure | 82 ++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 44 deletions(-) Reviewed-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé