From d50e88687b08e2d4ddb56cfec3d530165d96f4ed Mon Sep 17 00:00:00 2001 From: Jiri Date: Sun, 17 Mar 2024 16:51:12 +0100 Subject: [PATCH] Aded ability to enforce tmp external tarball as url --- run.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/run.sh b/run.sh index 0aef785..bc29075 100755 --- a/run.sh +++ b/run.sh @@ -72,6 +72,16 @@ elif [ "x$BUGID" != "x" ]; then BUGID="-bug:$BUGID" fi +if [ ! "x$FORCE_TMP_JTREG" == "x" ] ; then + ddir=`mktemp -d` + pushd "$ddir" + ball=forcedJtreg.tar.gz + wget "$FORCE_TMP_JTREG" -O "$ball" + tar -xf "$ball" + popd + JTREG_HOME="$ddir/jtreg" +fi + if [ "x$JTREG_HOME" == "x" ] ; then JTREG_HOME="$SCRIPT_DIR/jtreg" else