Files
nixpkgs/pkgs/build-support/fetchsvnssh/builder.sh
2026-08-22 12:15:09 +02:00

8 lines
334 B
Bash

echo "exporting $url (r$rev) into $out"
# Pipe the "p" character into Subversion to force it to accept the
# server's certificate. This is perfectly safe: we don't care
# whether the server is being spoofed --- only the cryptographic
# hash of the output matters.
expect -f $sshSubversion "$username" "$password" "$rev" "$url" $out