From: Jani Nikula Date: Wed, 13 Apr 2016 18:32:45 +0000 (+0300) Subject: [PATCH 0/4] configure: fix some shellcheck warnings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=081f12db6be27213ab4fe90935298fc02fa9c45a;p=notmuch-archives.git [PATCH 0/4] configure: fix some shellcheck warnings --- diff --git a/ab/cb5526c142d706abb86aab930f0cc8935466c7 b/ab/cb5526c142d706abb86aab930f0cc8935466c7 new file mode 100644 index 000000000..7fc0d22d3 --- /dev/null +++ b/ab/cb5526c142d706abb86aab930f0cc8935466c7 @@ -0,0 +1,93 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id F3CF86DE014D + for ; Wed, 13 Apr 2016 11:34:17 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.562 +X-Spam-Level: +X-Spam-Status: No, score=-0.562 tagged_above=-999 required=5 tests=[AWL=0.158, + DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, + RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id IFc0tF73SnVn for ; + Wed, 13 Apr 2016 11:34:08 -0700 (PDT) +Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com + [74.125.82.66]) by arlo.cworth.org (Postfix) with ESMTPS id DE4676DE0127 for + ; Wed, 13 Apr 2016 11:34:07 -0700 (PDT) +Received: by mail-wm0-f66.google.com with SMTP id a140so16472973wma.2 + for ; Wed, 13 Apr 2016 11:34:07 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=nikula-org.20150623.gappssmtp.com; s=20150623; + h=from:to:cc:subject:date:message-id; + bh=eTPWm5MPxke212/u/0q1W5aLwmVl58jFDG/vkVTucgk=; + b=Pa3+Qce91CRYS0HfEJv2JzkyqWJ1jJzvBtcgZBw3mHQZZm5AiUy8c1oZs87SazoI0N + nM067ojgtJzcgYIupLQGbx2oBM5XR6MhM5qGLW618fJYXdiYsssIRuwINkR37bFgFh29 + IVt+k+WgEbuUAsfqyWjmSmg8SIMrLatvpuigRqjDAojU61A98BFsvsadUIMI95gY8636 + e1O6VedmX1T4xIQMHeBORzSuR0Grlx5XoGSVsin7LEYAQYMnRiA+zn6LMhMHKCVZWV2A + gn308bFMmXkMDgBJ7mxNjIGyKVdX8NFlSmzgTGjMPpcmqHDGLIS/gTnR5JSM93GG4rf5 + itDA== +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:from:to:cc:subject:date:message-id; + bh=eTPWm5MPxke212/u/0q1W5aLwmVl58jFDG/vkVTucgk=; + b=YzeZmS6lHL0xGyBpO7t6Jr3rwY0MHtQqpOzK39PQfDq6EHqUEvuEhDssiHffHvF1xh + 9viog2OkZkRfr9y2GhpuU4WjrAdZjHzax7A1mgnXSdD9qowQZVPOprANYNV4oYQAUrx9 + LTDObYnONR7bXiJPkFOd8QrG/GZem82/Sut9Fiwx0XIkuL1ZibNgisBZxdQ2BCNAId2r + ZJkDFgZbPeh7vHOJFWS/SdpjBsSrEI/4JLiU8sz7yPcPq7oAYDOs0EZfA7oPueFYI1y7 + rH8fQvz+3H4lmxUGYa2bwfQzLFxPtwMfdjbugdomzH3NxA4occ4vluJceiwQHgPjatDf + /DOQ== +X-Gm-Message-State: + AOPr4FWjK/QvfMcFt/yo/QcCEIJJmpX3odSHItC2Up7mk6Ilx1xN4oeyclH0Vwr+MsV8kA== +X-Received: by 10.194.95.40 with SMTP id dh8mr12561239wjb.146.1460572443533; + Wed, 13 Apr 2016 11:34:03 -0700 (PDT) +Received: from localhost (mobile-access-bcee7f-102.dhcp.inet.fi. + [188.238.127.102]) + by smtp.gmail.com with ESMTPSA id cb2sm39937958wjc.16.2016.04.13.11.34.02 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 13 Apr 2016 11:34:02 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 0/4] configure: fix some shellcheck warnings +Date: Wed, 13 Apr 2016 21:32:45 +0300 +Message-Id: +X-Mailer: git-send-email 2.1.4 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 13 Apr 2016 18:34:18 -0000 + +TIL about shellcheck [1]. Played with it a bit. Seems useful. + +$ shellcheck --exclude 2086 --shell sh configure + +BR, +Jani. + +[1] http://www.shellcheck.net/ + + +Jani Nikula (4): + configure: SC2006: Use $(..) instead of deprecated `..` + configure: SC2059: Don't use variables in the printf format string. + configure: SC2034: glib_cflags and glib_ldflags appear unused. + configure: SC2016: Expressions don't expand in single quotes + + configure | 25 +++++++++++++------------ + 1 file changed, 13 insertions(+), 12 deletions(-) + +-- +2.1.4 +