libc/eglibc: fix downloading
authorBob Dunlop <bob.dunlop@xyzzy.org.uk>
Tue Nov 09 10:44:29 2010 +0100 (2010-11-09)
changeset 217842cc9bd0db7e
parent 2173 fff955de3fb8
child 2180 d3af3efce68c
libc/eglibc: fix downloading

Since Subversion 1.6.13 was released, it is no longer possible
to checkout/export to the current working directory using '.'
(eg. "svn co bla://blabla/foo/bar ." no longer extracts the content
of bar into ./ but into ./bar).

Fix this by luring Subversion to extract into "$(pwd)", which has
the advantage of working both with all known versions so far.

At the same time, remove the useless redirection.
scripts/build/libc/eglibc.sh
     1.1 --- a/scripts/build/libc/eglibc.sh	Wed Nov 03 18:30:30 2010 +0100
     1.2 +++ b/scripts/build/libc/eglibc.sh	Tue Nov 09 10:44:29 2010 +0100
     1.3 @@ -14,7 +14,7 @@
     1.4          *)  svn_action="export --force";;
     1.5      esac
     1.6  
     1.7 -    CT_DoExecLog ALL svn ${svn_action} -r "${CT_EGLIBC_REVISION:-HEAD}" "${svn_url}" . 2>&1
     1.8 +    CT_DoExecLog ALL svn ${svn_action} -r "${CT_EGLIBC_REVISION:-HEAD}" "${svn_url}" "$(pwd)"
     1.9  
    1.10      # Compress eglibc
    1.11      CT_DoExecLog ALL mv libc "eglibc-${CT_LIBC_VERSION}"