3
0
Fork 0
forked from mirrors/nixpkgs

* 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.

svn path=/nixpkgs/trunk/; revision=4377
This commit is contained in:
Eelco Dolstra 2005-12-15 17:21:20 +00:00
parent 62d12a8cdb
commit 07687a8514

View file

@ -7,7 +7,11 @@ echo $prefetch
if test -e "$prefetch"; then
mv $prefetch $out
else
svn export -r "$rev" "$url" $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.
echo 'p' | svn export -r "$rev" "$url" $out
fi
actual=$(nix-hash $out)