* 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
|
if test -e "$prefetch"; then
|
||||||
mv $prefetch $out
|
mv $prefetch $out
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
actual=$(nix-hash $out)
|
actual=$(nix-hash $out)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user