Skip to content

Commit 5771418

Browse files
committed
Aded ability to enforce tmp external tarball as url
1 parent 7919181 commit 5771418

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

run.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ elif [ "x$BUGID" != "x" ]; then
7070
BUGID="-bug:$BUGID"
7171
fi
7272

73+
if [ ! "x$FORCE_TMP_JTREG" == "x" ] ; then
74+
ddir=`mktemp -d`
75+
pushd "$ddir"
76+
ball=forcedJtreg.tar.gz
77+
wget "$FORCE_TMP_JTREG" -O "$ball"
78+
tar -xf "$ball"
79+
popd
80+
JTREG_HOME="$ddir/jtreg"
81+
fi
82+
7383
if [ "x$JTREG_HOME" == "x" ] ; then
7484
JTREG_HOME="$SCRIPT_DIR/jtreg"
7585
else

0 commit comments

Comments
 (0)