From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id F1D2CAC1911 for ; Fri, 29 Sep 2023 22:24:23 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=+hj6xX01iHNfwB68UMt/dKIqfbz45JfRRzamB7/w/Zk=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1696026262; v=1; b=rthcxRqR0V3T9tOrC82T9Gy3Vr2i28AY7AHMf7PXtzleIbh5HtTynwD6FVVUo3Xu+HC26AMu bP09AfdbSuNhhm+G5mBQ/ul9yxHwdlvkAWPQjEMxl5PkpMCLxIIM5clvvkBKLIIrPsCmpGpw+9E +7DOITteFprLMq/q1ja9ZfeY= X-Received: by 127.0.0.2 with SMTP id EeuFYY7687511x1847ZneY2P; Fri, 29 Sep 2023 15:24:22 -0700 X-Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mx.groups.io with SMTP id smtpd.web11.30740.1696026261291553476 for ; Fri, 29 Sep 2023 15:24:21 -0700 X-Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-504a7f9204eso4616724e87.3 for ; Fri, 29 Sep 2023 15:24:21 -0700 (PDT) X-Gm-Message-State: aUMgPkVZAVBHZhpaKL7WZrHix7686176AA= X-Google-Smtp-Source: AGHT+IEe/kyhlj2kfriJM+/lIIzoGuHEEX/ka5W41noDJUxVFbanUwpIUiygIG7mOGNaxpJjaT21qA== X-Received: by 2002:a05:6512:308a:b0:500:daf6:3898 with SMTP id z10-20020a056512308a00b00500daf63898mr5504365lfd.26.1696026259345; Fri, 29 Sep 2023 15:24:19 -0700 (PDT) X-Received: from localhost.localdomain ([185.9.78.108]) by smtp.gmail.com with ESMTPSA id l3-20020ac24303000000b005032907710asm3588606lfh.237.2023.09.29.15.24.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 29 Sep 2023 15:24:19 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 2/2] RedfishClientPkg/.github: fix file list for uncrustify check Date: Sat, 30 Sep 2023 01:24:14 +0300 Message-Id: <20230929222414.47115-3-mike.maslenkin@gmail.com> In-Reply-To: <20230929222414.47115-1-mike.maslenkin@gmail.com> References: <20230929222414.47115-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=rthcxRqR; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Current `grep` command doesn't work in macOS with GNU bash, version 3.2.57(1)-release-(arm64-apple-darwin21) Signed-off-by: Mike Maslenkin --- .github/workflows/uncrustify-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/uncrustify-check.sh b/.github/workflows/uncrustify-check.sh index c94b892634b8..7c1765cff5ba 100755 --- a/.github/workflows/uncrustify-check.sh +++ b/.github/workflows/uncrustify-check.sh @@ -31,7 +31,7 @@ fi cd "$REPO_PATH" FAILURE=0 -CHANGED_FILES=$(git diff --name-only HEAD~$NO_COMMITS..HEAD | grep '\(\.c$\|\.h$\)') +CHANGED_FILES=$(git diff --name-only HEAD~$NO_COMMITS..HEAD | grep -e '\.c$' -e '\.h') if [ -z "$CHANGED_FILES" ] then echo "No c or h file to run uncrustify check" -- 2.32.0 (Apple Git-132) -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109232): https://edk2.groups.io/g/devel/message/109232 Mute This Topic: https://groups.io/mt/101667895/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-