Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Propose a better way to fetch latest source url.
Browse files Browse the repository at this point in the history
It is reasonable to pass headers like `User-Agent`, see v2ray/v2ray-core#2373.
Also I don't think it's a good idea to fetch source code url from webpages like `https://www.boost.org/users/download/`, they are definitely not designed for machine-readable. And we should prefer to fetch url from REST API response from GitHub.
  • Loading branch information
IceCodeNew committed Sep 8, 2020
1 parent f28856b commit 753019f
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 93 deletions.
70 changes: 35 additions & 35 deletions qbittorrent-nox-static-glibc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ SKIP_DELETE='no'
#
while (( "$#" )); do
case "$1" in
'-b' | '--build-directory')
-b|--build-directory)
BUILD_DIR=$2
shift 2
;;
'-nodel' | '--no-delete')
-nodel|--no-delete)
SKIP_DELETE='yes'
shift
;;
'-h' | '--help')
-h|--help)
echo -e "\n\e[1mDefault build location:\e[0m \e[32m$HOME/qbittorrent-build\e[0m"
echo -e "\n\e[32m-b\e[0m or \e[32m--build-directory\e[0m to set the location of the build directory. Paths are relative to the script location. Recommended that you use a full path."
echo -e "\n\e[32mall\e[0m - install all modules to the default or specific build directory (when -b is used)"
Expand All @@ -53,17 +53,11 @@ while (( "$#" )); do
echo -e "\nlocal = \e[32m\$HOME/bin\e[0m\n"
exit 1
;;
'-p' | '--proxy')
# WHEREVER YOU SEE THESE `${PROXY}` VARIABLES, DO NOT QUOTE THESE WITH QUOTATION MARKS!
PROXY="-x$2"
git config --global http.https://github.com.proxy "$2"
shift 2
;;
'--') # end argument parsing
--) # end argument parsing
shift
break
;;
'-'*|'--'*=) # unsupported flags
-*|--*=) # unsupported flags
echo -e "\nError: Unsupported flag - \e[31m$1\e[0m - use \e[32m-h\e[0m or \e[32m--help\e[0m to see the valid options\n" >&2
exit 1
;;
Expand Down Expand Up @@ -233,34 +227,40 @@ export local_openssl="--with-openssl=$install_dir"
#
## Define some URLs to download our apps. They are dynamic and set the most recent version or release.
#
export bison_url="http://ftp.gnu.org/gnu/bison/$(curl ${PROXY} -sNL http://ftp.gnu.org/gnu/bison/ | grep -Eo 'bison-([0-9]{1,3}[.]?)([0-9]{1,3}[.]?)([0-9]{1,3}?)\.tar.gz' | sort -V | tail -1)"
export bison_url="http://ftp.gnu.org/gnu/bison/$(curl -sNL http://ftp.gnu.org/gnu/bison/ | grep -Eo 'bison-([0-9]{1,3}[.]?)([0-9]{1,3}[.]?)([0-9]{1,3}?)\.tar.gz' | sort -V | tail -1)"
#
export gawk_url="http://ftp.gnu.org/gnu/gawk/$(curl ${PROXY} -sNL http://ftp.gnu.org/gnu/gawk/ | grep -Eo 'gawk-([0-9]{1,3}[.]?)([0-9]{1,3}[.]?)([0-9]{1,3}?)\.tar.gz' | sort -V | tail -1)"
export gawk_url="http://ftp.gnu.org/gnu/gawk/$(curl -sNL http://ftp.gnu.org/gnu/gawk/ | grep -Eo 'gawk-([0-9]{1,3}[.]?)([0-9]{1,3}[.]?)([0-9]{1,3}?)\.tar.gz' | sort -V | tail -1)"
#
# export glibc_url="http://ftp.gnu.org/gnu/libc/$(curl ${PROXY} -sNL http://ftp.gnu.org/gnu/libc/ | grep -Eo 'glibc-([0-9]{1,3}[.]?)([0-9]{1,3}[.]?)([0-9]{1,3}?)\.tar.gz' | sort -V | tail -1)"
# export glibc_url="http://ftp.gnu.org/gnu/libc/$(curl -sNL http://ftp.gnu.org/gnu/libc/ | grep -Eo 'glibc-([0-9]{1,3}[.]?)([0-9]{1,3}[.]?)([0-9]{1,3}?)\.tar.gz' | sort -V | tail -1)"
export glibc_url="http://ftp.gnu.org/gnu/libc/glibc-2.31.tar.gz"
#
export zlib_github_tag="$(curl ${PROXY} -sNL https://github.com/madler/zlib/releases | grep -Eom1 'v1.2.([0-9]{1,2})')"
export zlib_url="https://github.com/madler/zlib/archive/$zlib_github_tag.tar.gz"
export zlib_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/madler/zlib/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 '1\.2\.')"
export zlib_url='https://github.com/madler/zlib/archive/'"$zlib_github_tag"'.tar.gz'
#
export icu_url="$(curl ${PROXY} -sNL https://api.github.com/repos/unicode-org/icu/releases/latest | grep -Eom1 'ht(.*)icu4c(.*)-src.tgz')"
export icu_url="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/unicode-org/icu/releases/latest | grep 'browser_download_url' | cut -d\" -f4 | grep -Em1 'icu4c(.+)-src.tgz')"
#
export openssl_github_tag="$(curl ${PROXY} -sNL https://github.com/openssl/openssl/releases | grep -Eom1 'OpenSSL_1_1_([0-9][a-z])')"
export openssl_url="https://github.com/openssl/openssl/archive/$openssl_github_tag.tar.gz"
export openssl_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/openssl/openssl/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 'OpenSSL_1_1_[0-9][a-z]')"
export openssl_url='https://github.com/openssl/openssl/archive/'"$openssl_github_tag"'.tar.gz'
#
export boost_version="$(curl ${PROXY} -sNL https://www.boost.org/users/download/ | sed -rn 's#(.*)e">Version (.*\.[0-9]{1,2})</s(.*)#\2#p')"
export boost_github_tag="boost-$boost_version"
export boost_prefix='boost-'
export boost_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/boostorg/boost/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 ${boost_prefix}'1\.[0-9].+')"
export boost_version="${boost_github_tag/${boost_prefix}/}"
export boost_url="https://dl.bintray.com/boostorg/release/$boost_version/source/boost_${boost_version//./_}.tar.gz"
export boost_url_status="$(curl ${PROXY} -o /dev/null -s --head --write-out '%{http_code}' https://dl.bintray.com/boostorg/release/$boost_version/source/boost_${boost_version//./_}.tar.gz)"
export boost_build_url="https://github.com/boostorg/build/archive/$boost_github_tag.tar.gz"
export boost_build_url='https://github.com/boostorg/build/archive/'"$boost_github_tag"'.tar.gz'
#
export qt_version='5.15'
export qt_github_tag="$(curl ${PROXY} -sNL https://github.com/qt/qtbase/releases | grep -Eom1 "v$qt_version.([0-9]{1,2})")"
export qt_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/qt/qtbase/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 '5\.15\.')"
#
export libtorrent_version='1.2'
export libtorrent_github_tag="$(curl ${PROXY} -sNL https://github.com/arvidn/libtorrent/releases | grep -Eom1 "v$libtorrent_version.([0-9]{1,2})")"
export libtorrent_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/arvidn/libtorrent/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 'libtorrent-1\.2\.')"
#
export qbittorrent_github_tag="$(curl ${PROXY} -sNL https://github.com/qbittorrent/qBittorrent/releases | grep -Eom1 'release-([0-9]{1,4}\.?)+')"
export qbittorrent_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/qbittorrent/qBittorrent/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 'release-[0-9]\.')"
#
## bison
#
Expand All @@ -274,7 +274,7 @@ if [[ "$skip_bison" = 'no' || "$1" = 'bison' ]]; then
#
[[ -f "$file_bison" ]] && rm -rf {"$install_dir/$(tar tf "$file_bison" | grep -Eom1 "(.*)[^/]")","$file_bison"}
#
curl ${PROXY} -sSLR -o "$file_bison" "$bison_url"
wget -qO "$file_bison" "$bison_url"
tar xf "$file_bison" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_bison" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -297,7 +297,7 @@ if [[ "$skip_gawk" = 'no' || "$1" = 'gawk' ]]; then
#
[[ -f "$file_gawk" ]] && rm -rf {"$install_dir/$(tar tf "$file_gawk" | grep -Eom1 "(.*)[^/]")","$file_gawk"}
#
curl ${PROXY} -sSLR -o "$file_gawk" "$gawk_url"
wget -qO "$file_gawk" "$gawk_url"
tar xf "$file_gawk" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_gawk" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -321,7 +321,7 @@ if [[ "$skip_glibc" = 'no' ]] || [[ "$1" = 'glibc' ]]; then
#
[[ -f "$file_glibc" ]] && rm -rf {"$install_dir/$(tar tf "$file_glibc" | grep -Eom1 "(.*)[^/]")","$file_glibc"}
#
curl ${PROXY} -sSLR -o "$file_glibc" "$glibc_url"
wget -qO "$file_glibc" "$glibc_url"
tar xf "$file_glibc" -C "$install_dir"
mkdir -p "$install_dir/$(tar tf "$file_glibc" | head -1 | cut -f1 -d"/")/build"
cd "$install_dir/$(tar tf "$file_glibc" | head -1 | cut -f1 -d"/")/build"
Expand All @@ -346,7 +346,7 @@ if [[ "$skip_zlib" = 'no' || "$1" = 'zlib' ]]; then
#
[[ -f "$file_zlib" ]] && rm -rf {"$install_dir/$(tar tf "$file_zlib" | grep -Eom1 "(.*)[^/]")","$file_zlib"}
#
curl ${PROXY} -sSLR -o "$file_zlib" "$zlib_url"
wget -qO "$file_zlib" "$zlib_url"
tar xf "$file_zlib" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_zlib" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -370,7 +370,7 @@ if [[ "$skip_icu" = 'no' || "$1" = 'icu' ]]; then
#
[[ -f "$file_icu" ]] && rm -rf {"$install_dir/$(tar tf "$file_icu" | grep -Eom1 "(.*)[^/]")","$file_icu"}
#
curl ${PROXY} -sSLR -o "$file_icu" "$icu_url"
wget -qO "$file_icu" "$icu_url"
tar xf "$file_icu" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_icu" | head -1 | cut -f1 -d"/")/source"
#
Expand All @@ -394,7 +394,7 @@ if [[ "$skip_openssl" = 'no' || "$1" = 'openssl' ]]; then
#
[[ -f "$file_openssl" ]] && rm -rf {"$install_dir/$(tar tf "$file_openssl" | grep -Eom1 "(.*)[^/]")","$file_openssl"}
#
curl ${PROXY} -sSLR -o "$file_openssl" "$openssl_url"
wget -qO "$file_openssl" "$openssl_url"
tar xf "$file_openssl" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_openssl" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -418,7 +418,7 @@ if [[ "$skip_boost_build" = 'no' ]] || [[ "$1" = 'boost_build' ]]; then
#
[[ -f "$file_boost_build" ]] && rm -rf {"$install_dir/$(tar tf "$file_boost_build" | grep -Eom1 "(.*)[^/]")","$file_boost_build"}
#
curl ${PROXY} -sSLR -o "$file_boost_build" "$boost_build_url"
wget -qO "$file_boost_build" "$boost_build_url"
tar xf "$file_boost_build" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_boost_build" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -438,7 +438,7 @@ if [[ "$skip_boost" = 'no' ]] || [[ "$1" = 'boost' ]]; then
#
[[ -f "$file_boost" ]] && rm -rf {"$install_dir/$(tar tf "$file_boost" | grep -Eom1 "(.*)[^/]")","$file_boost"}
#
curl ${PROXY} -sSLR -o "$file_boost" "$boost_url"
wget -qO "$file_boost" "$boost_url"
#
tar xf "$file_boost" -C "$install_dir"
#
Expand Down
58 changes: 29 additions & 29 deletions qbittorrent-nox-static-musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ SKIP_DELETE='no'
#
while (( "$#" )); do
case "$1" in
'-b' | '--build-directory')
-b|--build-directory)
BUILD_DIR=$2
shift 2
;;
'-nodel' | '--no-delete')
-nodel|--no-delete)
SKIP_DELETE='yes'
shift
;;
'-h' | '--help')
-h|--help)
echo -e "\n\e[1mDefault build location:\e[0m \e[32m$HOME/qbittorrent-build\e[0m"
echo -e "\n\e[32m-b\e[0m or \e[32m--build-directory\e[0m to set the location of the build directory. Paths are relative to the script location. Recommended that you use a full path."
echo -e "\n\e[32mall\e[0m - install all modules to the default or specific build directory (when -b is used)"
Expand All @@ -53,17 +53,11 @@ while (( "$#" )); do
echo -e "\nlocal = \e[32m\$HOME/bin\e[0m\n"
exit 1
;;
'-p' | '--proxy')
# WHEREVER YOU SEE THESE `${PROXY}` VARIABLES, DO NOT QUOTE THESE WITH QUOTATION MARKS!
PROXY="-x$2"
git config --global http.https://github.com.proxy "$2"
shift 2
;;
'--') # end argument parsing
--) # end argument parsing
shift
break
;;
'-'*|'--'*=) # unsupported flags
-*|--*=) # unsupported flags
echo -e "\nError: Unsupported flag - \e[31m$1\e[0m - use \e[32m-h\e[0m or \e[32m--help\e[0m to see the valid options\n" >&2
exit 1
;;
Expand Down Expand Up @@ -231,27 +225,33 @@ export local_openssl="--with-openssl=$install_dir"
#
## Define some URLs to download our apps. They are dynamic and set the most recent version or release.
#
export zlib_github_tag="$(curl ${PROXY} -sNL https://github.com/madler/zlib/releases | grep -Eom1 'v1.2.([0-9]{1,2})')"
export zlib_url="https://github.com/madler/zlib/archive/$zlib_github_tag.tar.gz"
export zlib_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/madler/zlib/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 '1\.2\.')"
export zlib_url='https://github.com/madler/zlib/archive/'"$zlib_github_tag"'.tar.gz'
#
export icu_url="$(curl ${PROXY} -sNL https://api.github.com/repos/unicode-org/icu/releases/latest | grep -Eom1 'ht(.*)icu4c(.*)-src.tgz')"
export icu_url="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/unicode-org/icu/releases/latest | grep 'browser_download_url' | cut -d\" -f4 | grep -Em1 'icu4c(.+)-src.tgz')"
#
export openssl_github_tag="$(curl ${PROXY} -sNL https://github.com/openssl/openssl/releases | grep -Eom1 'OpenSSL_1_1_([0-9][a-z])')"
export openssl_url="https://github.com/openssl/openssl/archive/$openssl_github_tag.tar.gz"
export openssl_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/openssl/openssl/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 'OpenSSL_1_1_[0-9][a-z]')"
export openssl_url='https://github.com/openssl/openssl/archive/'"$openssl_github_tag"'.tar.gz'
#
export boost_version="$(curl ${PROXY} -sNL https://www.boost.org/users/download/ | sed -rn 's#(.*)e">Version (.*\.[0-9]{1,2})</s(.*)#\2#p')"
export boost_github_tag="boost-$boost_version"
export boost_prefix='boost-'
export boost_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/boostorg/boost/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 ${boost_prefix}'1\.[0-9].+')"
export boost_version="${boost_github_tag/${boost_prefix}/}"
export boost_url="https://dl.bintray.com/boostorg/release/$boost_version/source/boost_${boost_version//./_}.tar.gz"
export boost_url_status="$(curl ${PROXY} -o /dev/null -s --head --write-out '%{http_code}' https://dl.bintray.com/boostorg/release/$boost_version/source/boost_${boost_version//./_}.tar.gz)"
export boost_build_url="https://github.com/boostorg/build/archive/$boost_github_tag.tar.gz"
export boost_build_url='https://github.com/boostorg/build/archive/'"$boost_github_tag"'.tar.gz'
#
export qt_version='5.15'
export qt_github_tag="$(curl ${PROXY} -sNL https://github.com/qt/qtbase/releases | grep -Eom1 "v$qt_version.([0-9]{1,2})")"
export qt_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/qt/qtbase/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 '5\.15\.')"
#
export libtorrent_version='1.2'
export libtorrent_github_tag="$(curl ${PROXY} -sNL https://github.com/arvidn/libtorrent/releases | grep -Eom1 "v$libtorrent_version.([0-9]{1,2})")"
export libtorrent_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/arvidn/libtorrent/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 'libtorrent-1\.2\.')"
#
export qbittorrent_github_tag="$(curl ${PROXY} -sNL https://github.com/qbittorrent/qBittorrent/releases | grep -Eom1 'release-([0-9]{1,4}\.?)+')"
export qbittorrent_github_tag="$(curl ${PROXY} -H "Accept: application/json" -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0" -sSNL \
https://api.github.com/repos/qbittorrent/qBittorrent/tags?per_page=32 | grep 'name' | cut -d\" -f4 | grep -Em1 'release-[0-9]\.')"
#
## zlib installation
#
Expand All @@ -265,7 +265,7 @@ if [[ "$skip_zlib" = 'no' || "$1" = 'zlib' ]]; then
#
[[ -f "$file_zlib" ]] && rm -rf {"$install_dir/$(tar tf "$file_zlib" | grep -Eom1 "(.*)[^/]")","$file_zlib"}
#
curl ${PROXY} -sSLR -o "$file_zlib" "$zlib_url"
wget -qO "$file_zlib" "$zlib_url"
tar xf "$file_zlib" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_zlib" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -288,7 +288,7 @@ if [[ "$skip_icu" = 'no' || "$1" = 'icu' ]]; then
#
[[ -f "$file_icu" ]] && rm -rf {"$install_dir/$(tar tf "$file_icu" | grep -Eom1 "(.*)[^/]")","$file_icu"}
#
curl ${PROXY} -sSLR -o "$file_icu" "$icu_url"
wget -qO "$file_icu" "$icu_url"
tar xf "$file_icu" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_icu" | head -1 | cut -f1 -d"/")/source"
#
Expand All @@ -312,7 +312,7 @@ if [[ "$skip_openssl" = 'no' || "$1" = 'openssl' ]]; then
#
[[ -f "$file_openssl" ]] && rm -rf {"$install_dir/$(tar tf "$file_openssl" | grep -Eom1 "(.*)[^/]")","$file_openssl"}
#
curl ${PROXY} -sSLR -o "$file_openssl" "$openssl_url"
wget -qO "$file_openssl" "$openssl_url"
tar xf "$file_openssl" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_openssl" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -336,7 +336,7 @@ if [[ "$skip_boost_build" = 'no' ]] || [[ "$1" = 'boost_build' ]]; then
#
[[ -f "$file_boost_build" ]] && rm -rf {"$install_dir/$(tar tf "$file_boost_build" | grep -Eom1 "(.*)[^/]")","$file_boost_build"}
#
curl ${PROXY} -sSLR -o "$file_boost_build" "$boost_build_url"
wget -qO "$file_boost_build" "$boost_build_url"
tar xf "$file_boost_build" -C "$install_dir"
cd "$install_dir/$(tar tf "$file_boost_build" | head -1 | cut -f1 -d"/")"
#
Expand All @@ -356,7 +356,7 @@ if [[ "$skip_boost" = 'no' ]] || [[ "$1" = 'boost' ]]; then
#
[[ -f "$file_boost" ]] && rm -rf {"$install_dir/$(tar tf "$file_boost" | grep -Eom1 "(.*)[^/]")","$file_boost"}
#
curl ${PROXY} -sSLR -o "$file_boost" "$boost_url"
wget -qO "$file_boost" "$boost_url"
#
tar xf "$file_boost" -C "$install_dir"
#
Expand Down
Loading

0 comments on commit 753019f

Please sign in to comment.