mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
Toolchain: Restore --no-check-certificate option
This commit is contained in:
parent
cf9aaa3c27
commit
409e5b1f42
2 changed files with 3 additions and 2 deletions
|
|
@ -392,7 +392,7 @@ while [ $# -ge 1 ]; do
|
|||
export NPROCS_OVERWRITE="${1#-j}"
|
||||
;;
|
||||
--no-check-certificate)
|
||||
export DOWNLOADER_FLAGS="-n"
|
||||
export DOWNLOADER_FLAGS="--no-check-certificate"
|
||||
;;
|
||||
--install-all)
|
||||
# set all package to the default installation status
|
||||
|
|
|
|||
|
|
@ -627,7 +627,8 @@ download_pkg_from_cp2k_org() {
|
|||
local __filename="$2"
|
||||
local __url="https://www.cp2k.org/static/downloads/$__filename"
|
||||
# download
|
||||
if ! wget --quiet $__url; then
|
||||
echo "wget ${DOWNLOADER_FLAGS} --quiet $__url"
|
||||
if ! wget ${DOWNLOADER_FLAGS} --quiet $__url; then
|
||||
report_error "failed to download $__url"
|
||||
return 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue