mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #32814 from fahadsadah/patch-1
build-support: clean-up fetchSvn
This commit is contained in:
commit
c4be328f98
1 changed files with 1 additions and 5 deletions
|
@ -22,11 +22,7 @@ if test -z "$LC_ALL"; then
|
|||
export LC_ALL="en_US.UTF-8"
|
||||
fi;
|
||||
|
||||
# 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. Pass in extra p's to handle redirects.
|
||||
printf 'p\np\np\n' | svn export --trust-server-cert --non-interactive \
|
||||
svn export --trust-server-cert --non-interactive \
|
||||
${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
|
||||
-r "$rev" "$url" "$out"
|
||||
|
||||
|
|
Loading…
Reference in a new issue