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:
parent
62d12a8cdb
commit
07687a8514
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue