DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH 1/2] scripts: p-all: allow overriding ptxdist via $PTXDIST
@ 2019-03-13 10:33 Roland Hieber
  2019-03-13 10:33 ` [DistroKit] [PATCH 2/2] ptxdist: version bump 2019.03.0 → 2019.03.1 Roland Hieber
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2019-03-13 10:33 UTC (permalink / raw)
  To: distrokit; +Cc: Roland Hieber

This actually makes it possible to call specific versions of PTXdist,
e.g. when migrating to a specific version.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 scripts/p-all | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/scripts/p-all b/scripts/p-all
index 238a6a7..bdef601 100755
--- a/scripts/p-all
+++ b/scripts/p-all
@@ -1,6 +1,13 @@
 #!/bin/sh
 # Run ptxdist on all platformconfigs
+if [ -z "$PTXDIST" ]; then
+	PTXDIST=ptxdist
+else
+	tput setaf 3 # yellow
+	echo Note: using PTXDIST=$PTXDIST
+	tput sgr 0   # back to normal
+fi
 PLATFORMS="v7a v8a rpi"
 for p in $PLATFORMS; do
-	ptxdist --platformconfig=configs/platform-${p}/platformconfig "$@"
+	$PTXDIST --platformconfig=configs/platform-${p}/platformconfig "$@"
 done
-- 
2.20.1


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-13 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 10:33 [DistroKit] [PATCH 1/2] scripts: p-all: allow overriding ptxdist via $PTXDIST Roland Hieber
2019-03-13 10:33 ` [DistroKit] [PATCH 2/2] ptxdist: version bump 2019.03.0 → 2019.03.1 Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox