From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 08 Jul 2021 22:03:01 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1aEf-0008Kg-Qd for lore@lore.pengutronix.de; Thu, 08 Jul 2021 22:03:01 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1aEf-0000MP-Bm; Thu, 08 Jul 2021 22:03:01 +0200 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1aEC-0000MH-5g for ptxdist@pengutronix.de; Thu, 08 Jul 2021 22:02:32 +0200 Received: from rhi by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m1aEB-0008SK-Sm for ptxdist@pengutronix.de; Thu, 08 Jul 2021 22:02:31 +0200 Date: Thu, 8 Jul 2021 22:02:31 +0200 From: Roland Hieber To: ptxdist@pengutronix.de Message-ID: <20210708200231.2jzriwcljzcwq2qf@pengutronix.de> References: <20210627231121.28313-1-rhi@pengutronix.de> <20210627231121.28313-6-rhi@pengutronix.de> <20210628064213.GK25044@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210628064213.GK25044@pengutronix.de> User-Agent: NeoMutt/20180716 Subject: Re: [ptxdist] [PATCH v2 6/7] ptxd_lib_imx_hab: fix indentation X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, Jun 28, 2021 at 08:42:13AM +0200, Michael Olbrich wrote: > On Mon, Jun 28, 2021 at 01:11:20AM +0200, Roland Hieber wrote: > > Be uniform with bin/ptxdist, indent with one tab instead of mixed tabs > > and spaces. > > No. Everything is scripts is indented this way: Indention is 4 Spaces > tabwidth is 8 and tabs are not expanded. Blame Marc he started it this way > :-). So because it started this way it can never be changed? - Roland > > Michael > > > Signed-off-by: Roland Hieber > > --- > > PATCH v2 (rhi): > > - new patch in v2 > > - not essential, but slowly start fixing indentation in scripts/lib > > - git show -w is empty > > --- > > scripts/lib/ptxd_lib_imx_hab.sh | 86 ++++++++++++++++----------------- > > 1 file changed, 43 insertions(+), 43 deletions(-) > > > > diff --git a/scripts/lib/ptxd_lib_imx_hab.sh b/scripts/lib/ptxd_lib_imx_hab.sh > > index fa5b3e2c1439..7af2b1112855 100644 > > --- a/scripts/lib/ptxd_lib_imx_hab.sh > > +++ b/scripts/lib/ptxd_lib_imx_hab.sh > > @@ -27,64 +27,64 @@ > > # This will contain the srk hash which must be written to the fuses > > # > > ptxd_make_imx_habv4_gen_table_impl() { > > - local group="${1}" > > - local template="${1}" > > - local srk_count="${2}" > > - local table_bin="${pkg_build_dir}/imx-srk-table.bin" > > - local srk_fuse_bin="${pkg_build_dir}/imx-srk-fuse.bin" > > - local -a certs > > - local i > > + local group="${1}" > > + local template="${1}" > > + local srk_count="${2}" > > + local table_bin="${pkg_build_dir}/imx-srk-table.bin" > > + local srk_fuse_bin="${pkg_build_dir}/imx-srk-fuse.bin" > > + local -a certs > > + local i > > > > - case "${template}" in > > - *%d*) #