File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1-
21# shellcheck disable=SC2154
3-
42replace_wget ()
53{
64 # Define a file extension for the download_prerequisites backup
@@ -16,7 +14,7 @@ replace_wget()
1614 sed -i${backup_extension} -e ' 2 a\' $' \n ' " . ${OPENCOARRAYS_SRC_DIR} /prerequisites/build-functions/ftp_url.sh" $' \n ' " ${download_prereqs_file} "
1715 fi
1816
19- arg_string=" ${gcc_prereqs_fetch_args[@]:- } "
17+ arg_string=" ${gcc_prereqs_fetch_args[@]:- } "
2018
2119 info " Using the following command to replace wget in the GCC download_prerequisites file:"
2220 info " sed -i${backup_extension} s/\" ${wget_command} \" /\" ${gcc_prereqs_fetch} ${arg_string} \" / \" ${download_prereqs_file} \" "
@@ -39,7 +37,7 @@ edit_GCC_download_prereqs_file_if_necessary()
3937 # Check for wget format used before GCC 7
4038 if [[ ! -z " ${wget_command} " ]]; then
4139 # Check whether wget is available on this system
42- if ! type wget & > /dev/null; then
40+ if ! type wget & > /dev/null; then
4341 replace_wget
4442 fi
4543 fi
You can’t perform that action at this time.
0 commit comments