Skip to content

Commit

Permalink
Aded ability to enforce tmp external tarball as url
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Mar 18, 2024
1 parent 477fb62 commit d50e886
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d50e886

Please sign in to comment.