Skip to content

Commit

Permalink
[script] Disable autoexit when downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubVanek committed Oct 29, 2018
1 parent f1fdab4 commit 4c69cae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if [ ! -d "$JDKDIR" ]; then
# download bz2
echo "[FETCH] Downloading Java tarball from Mercurial"

set +e
wget -nv -N "$JAVA_REPO"
status=$?
tries=1
Expand All @@ -42,7 +43,7 @@ if [ ! -d "$JDKDIR" ]; then
status=$?
tries=$(($tries+1))
done

set -e

# extract
echo "[FETCH] Extracting tarball"
Expand Down

0 comments on commit 4c69cae

Please sign in to comment.