1if [ -e .attrs.sh ]; then source .attrs.sh; fi
2source $stdenv/setup
3
4echo "exporting $url (r$rev) into $out"
5
6if test "$sshSupport"; then
7 export SVN_SSH="$openssh/bin/ssh"
8fi
9
10# Pipe the "p" character into Subversion to force it to accept the
11# server's certificate. This is perfectly safe: we don't care
12# whether the server is being spoofed --- only the cryptographic
13# hash of the output matters.
14expect -f $sshSubversion "$username" "$password" "$rev" "$url" $out