From 32813b23a252e93f7ec5aa1ef265df7daf3aa834 Mon Sep 17 00:00:00 2001 From: Bruno Barbieri Date: Fri, 6 Jul 2018 16:44:06 -0400 Subject: [PATCH] Update firefox-download.sh --- .circleci/scripts/firefox-download.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/scripts/firefox-download.sh b/.circleci/scripts/firefox-download.sh index 1cb9ba5ac..768f1c048 100755 --- a/.circleci/scripts/firefox-download.sh +++ b/.circleci/scripts/firefox-download.sh @@ -4,9 +4,10 @@ if [ -d "firefox" ] then echo "Firefox found. No need to download" else - FIREFOX_BINARY="firefox-61.0.1.tar.bz2" + FIREFOX_VERSION="61.0.1" + FIREFOX_BINARY="firefox-${!FIREFOX_VERSION}.tar.bz2" echo "Downloading firefox..." - wget "https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/$FIREFOX_BINARY" \ + wget "https://ftp.mozilla.org/pub/firefox/releases/$FIREFOX_VERSION/linux-x86_64/en-US/$FIREFOX_BINARY" \ && tar xjf "$FIREFOX_BINARY" echo "firefox download complete" fi