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()
14
14
sed -i${backup_extension} -e ' 2 a\' $' \n ' " . ${OPENCOARRAYS_SRC_DIR} /prerequisites/build-functions/ftp_url.sh" $' \n ' " ${download_prereqs_file} "
15
15
fi
16
16
17
- arg_string=" ${gcc_prereqs_fetch_args[@ ]:- } "
17
+ arg_string=" ${gcc_prereqs_fetch_args[* ]:- } "
18
18
19
19
info " Using the following command to replace wget in the GCC download_prerequisites file:"
20
20
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()
31
31
download_prereqs_file=" ${PWD} /contrib/download_prerequisites"
32
32
33
33
# 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
35
35
wget_command=" ${wget_line%% ftp* } " # grab everything before ftp
36
36
37
37
# Check for wget format used before GCC 7
You can’t perform that action at this time.
0 commit comments