File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
prerequisites/build-functions Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ download_if_necessary()
58
58
;;
59
59
esac
60
60
61
-
62
61
if [[ -f " ${download_path} /${url_tail} " || -d " ${download_path} /${url_tail##* branches/ } " && ! -z ${url_tail##* branches/ } ]]; then
63
62
info " Found '${url_tail##* branches/ } ' in ${download_path} ."
64
63
info " If it resulted from an incomplete download, building ${package_name} could fail."
@@ -86,7 +85,7 @@ download_if_necessary()
86
85
else
87
86
88
87
if [[ " ${fetch} " == " git" ]]; then
89
- package_source_directory=" ${url_tail } "
88
+ package_source_directory=" ${package_name } "
90
89
else
91
90
package_source_directory=" ${package_name} -${version_to_build} "
92
91
fi
@@ -101,7 +100,7 @@ download_if_necessary()
101
100
return
102
101
else
103
102
if [[ " ${fetch} " == " git" ]]; then
104
- search_path=" ${download_path} /${version_to_build } "
103
+ search_path=" ${download_path} /${package_name } "
105
104
else
106
105
search_path=" ${download_path} /${url_tail} "
107
106
fi
Original file line number Diff line number Diff line change 53
53
# Set differing tails for GCC release downloads versus development branch checkouts
54
54
if [[ " ${package_to_build} " == ' gcc' ]]; then
55
55
if [[ " ${fetch} " == ' git' ]]; then
56
- gcc_tail=" gcc.git "
56
+ gcc_tail=" gcc"
57
57
else
58
58
gcc_tail=" gcc-${version_to_build} .tar.gz"
59
59
fi
You can’t perform that action at this time.
0 commit comments