diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-30 16:14:01 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2011-06-30 16:14:01 (GMT) |
commit | 2dfb4412bf200b63bcd6c1868ea14bc5b8f259ad (patch) | |
tree | 62c5d59aa493b909121f4550d010875cba19efcd /scripts/build/libc | |
parent | 7197a56ae66cea11ccb3ebd1f0a239625d696a02 (diff) |
libc/eglibc: Add option that allows for getting svn over http://
Instead of getting eglibc over standard svn://svn.eglibc.org
Add an option that allows the user to get source from
http://www.eglibc.org/svn
This is useful if you are behind a firewall or proxy.
If you are behind a proxy, don't forget to configure
${HOME}/.subversion/servers
In the [global] section setup your proxy configuration.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@anciens.enib.fr: removed useless 'default n']
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/eglibc.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh index 0c357df..16272ba 100644 --- a/scripts/build/libc/eglibc.sh +++ b/scripts/build/libc/eglibc.sh @@ -14,7 +14,13 @@ # snapshots available. do_libc_get() { local addon - local svn_base="svn://svn.eglibc.org" + local svn_base + + if [ "${CT_EGLIBC_HTTP}" = "y" ]; then + svn_base="http://www.eglibc.org/svn" + else + svn_base="svn://svn.eglibc.org" + fi case "${CT_LIBC_VERSION}" in trunk) svn_base+="/trunk";; |