Skip to content

Commit 3de11c3

Browse files
author
Damian Rouson
committed
Fix GCC branch URL
1 parent 3336cd2 commit 3de11c3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

prerequisites/build-functions/set_or_print_url.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ set_or_print_url()
4646
# Set differing tails for GCC release downloads versus development branch checkouts
4747
if [[ "${package_to_build}" == 'gcc' ]]; then
4848
if [[ "${fetch}" == 'svn' ]]; then
49-
gcc_tail=${version_to_build-branches}
49+
if [[ "${version_to_build}" == "trunk" ]]; then
50+
gcc_tail="${version_to_build}"
51+
else
52+
gcc_tail="branches/${version_to_build}"
53+
fi
5054
else
5155
gcc_tail="gcc-${version_to_build}.tar.bz2"
5256
fi

0 commit comments

Comments
 (0)