Merge pull request #32814 from fahadsadah/patch-1
build-support: clean-up fetchSvn
This commit is contained in:
commit
c4be328f98
|
@ -22,11 +22,7 @@ if test -z "$LC_ALL"; then
|
||||||
export LC_ALL="en_US.UTF-8"
|
export LC_ALL="en_US.UTF-8"
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
# Pipe the "p" character into Subversion to force it to accept the
|
svn export --trust-server-cert --non-interactive \
|
||||||
# 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 \
|
|
||||||
${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
|
${ignoreExternals:+--ignore-externals} ${ignoreKeywords:+--ignore-keywords} \
|
||||||
-r "$rev" "$url" "$out"
|
-r "$rev" "$url" "$out"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue