Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 11 lines 404 B view raw
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