From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 05 Sep 2022 13:07:24 +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 1oV9wo-007QFC-Sz for lore@lore.pengutronix.de; Mon, 05 Sep 2022 13:07:24 +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 1oV9wp-0001wX-87; Mon, 05 Sep 2022 13:07:23 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oV9wf-0001qo-Dl; Mon, 05 Sep 2022 13:07:13 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oV9wc-0042nD-Qx; Mon, 05 Sep 2022 13:07:12 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oV9wd-007gkt-Af; Mon, 05 Sep 2022 13:07:11 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Mon, 5 Sep 2022 13:07:09 +0200 Message-Id: <20220905110709.1832516-6-rhi@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220905110709.1832516-1-rhi@pengutronix.de> References: <20220905110709.1832516-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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: , Cc: Roland Hieber 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 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 done -- 2.30.2