From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 06 Sep 2022 11:59:04 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oVVME-008U6x-Cy for lore@lore.pengutronix.de; Tue, 06 Sep 2022 11:59:04 +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 1oVVMF-0000Oo-5U; Tue, 06 Sep 2022 11:59:03 +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 1oVVM5-0000Oa-9T; Tue, 06 Sep 2022 11:58:53 +0200 Received: from localhost ([127.0.0.1]) by ptx.hi.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oVVM4-0005YE-U5; Tue, 06 Sep 2022 11:58:53 +0200 Message-ID: <58d1428ba9ab63a92f4b3be01bc7b70c89780d9a.camel@pengutronix.de> From: Jan =?ISO-8859-1?Q?L=FCbbe?= To: Roland Hieber , distrokit@pengutronix.de Date: Tue, 06 Sep 2022 11:58:53 +0200 In-Reply-To: <20220905110709.1832516-6-rhi@pengutronix.de> References: <20220905110709.1832516-1-rhi@pengutronix.de> <20220905110709.1832516-6-rhi@pengutronix.de> Organization: Pengutronix Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [DistroKit] [PATCH 6/6] scripts: update-diffs-v7a.sh: fix ptxdist path X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: jlu@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Mon, 2022-09-05 at 13:07 +0200, Roland Hieber wrote: > Use the same detection logic as in update-diffs-mips.sh, in case a > different PTXdist version is to be used. > > Signed-off-by: Roland Hieber > --- >  scripts/update-diffs-v7a.sh | 10 +++++++++- >  1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git a/scripts/update-diffs-v7a.sh b/scripts/update-diffs-v7a.sh > index 0de34e4f0cde..e684ab697e72 100755 > --- a/scripts/update-diffs-v7a.sh > +++ b/scripts/update-diffs-v7a.sh > @@ -1,6 +1,14 @@ >  #!/bin/sh >   > +if [ -z "$PTXDIST" ]; then > +       PTXDIST=ptxdist > +else > +       tput setaf 3 # yellow > +       echo Note: using PTXDIST=$PTXDIST > +       tput sgr 0   # back to normal > +fi > + >  BAREBOXES="barebox-common barebox-am335x barebox-mx6 barebox-rpi2 barebox- > vexpress" >  for pkg in $BAREBOXES; do > -       ptxdist/bin/ptxdist oldconfig $pkg > +       $PTXDIST --platformconfig="configs/platform-mips/platformconfig" oldconfig $pkg ^ this should be v7a >  done -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |