File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ replace_wget()
1414 sed -i${backup_extension} -e ' 2 a\' $' \n ' " . ${OPENCOARRAYS_SRC_DIR} /prerequisites/build-functions/ftp_url.sh" $' \n ' " ${download_prereqs_file} "
1515 fi
1616
17- arg_string=" ${gcc_prereqs_fetch_args[@ ]:- } "
17+ arg_string=" ${gcc_prereqs_fetch_args[* ]:- } "
1818
1919 info " Using the following command to replace wget in the GCC download_prerequisites file:"
2020 info " sed -i${backup_extension} s/\" ${wget_command} \" /\" ${gcc_prereqs_fetch} ${arg_string} \" / \" ${download_prereqs_file} \" "
@@ -31,7 +31,7 @@ edit_GCC_download_prereqs_file_if_necessary()
3131 download_prereqs_file=" ${PWD} /contrib/download_prerequisites"
3232
3333 # Grab the line with the first occurence of 'wget'
34- wget_line=` grep wget " ${download_prereqs_file} " | head -1` || true
34+ wget_line=$( grep wget " ${download_prereqs_file} " | head -1) || true
3535 wget_command=" ${wget_line%% ftp* } " # grab everything before ftp
3636
3737 # Check for wget format used before GCC 7
You can’t perform that action at this time.
0 commit comments