Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1echo "exporting $url (r$rev) into $out"
2
3if test "$sshSupport"; then
4 export SVN_SSH="$openssh/bin/ssh"
5fi
6
7# Pipe the "p" character into Subversion to force it to accept the
8# server's certificate. This is perfectly safe: we don't care
9# whether the server is being spoofed --- only the cryptographic
10# hash of the output matters.
11expect -f $sshSubversion "$username" "$password" "$rev" "$url" $out